Skip to content

Images no longer reserve their space in the timeline correctly #25082

@turt2live

Description

@turt2live

Steps to reproduce

  1. Receive an image message
  2. Note that the tile is small while loading
  3. Timeline jumps when image loads

Outcome

What did you expect?

The blurhash and skeleton loading animation from past releases, and for the space to be reserved in the timeline.

What happened instead?

image

^during load

image

^after load

The event does have dimension information in it:

{
  "type": "m.room.message",
  "content": {
    "body": "image.png",
    "info": {
      "size": 98660,
      "mimetype": "image/png",
      "w": 1085,
      "h": 764,
      "xyz.amorgan.blurhash": "REDACTED"
    },
    "msgtype": "m.image",
    "file": {
      "v": "v2",
      "key": { REDACTED },
      "iv": "REDACTED",
      "hashes": {
        "sha256": "REDACTED"
      },
      "url": "mxc://REDACTED"
    }
  }
}

I believe this started happening after the security release.

Operating system

Windows 11

Application version

Element Nightly version: 0.0.1-nightly.2023041101 Olm version: 3.2.12

How did you install the app?

The Internet

Homeserver

t2l.io

Will you send logs?

No

Metadata

Metadata

Labels

A-MediaA-TimelineO-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectX-RegressionX-Release-Blocker

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions