Skip to content

Uploading retina screenshots are shown twice as large as they should be. #30007

Closed as duplicate of#27486
@ara4n

Description

@ara4n

Steps to reproduce

  1. Take a smallish screenshot in macOS
  2. Upload it as a PNG
  3. Observe that the thumbnail is massive in the timeline - presumably the thumbnailing code has got confused by it being retina pixel density and is treating it as lo-dpi.
  4. Instead it should be shown at the correct size.

For instance:

Image

Outcome

What did you expect?

Image shown as a hi-dpi retina image, at the same physical size as it was on the screen (unless that can't fit in the timeline, when it should then shrink to scale)

What happened instead?

Image isn't recognised as retina, and is treated as lo-dpi.

To be precise, this code has regressed. Perhaps it's a browser/OS regression, and macOS 15.5 has changed the fingerprint we use to recognise screenshots as retina?

Operating system

macOS 15.5 (24F74)

Application version

Element Nightly version: 2025052204 Crypto version: Rust SDK 0.11.0 (f2e32d4), Vodozemac 0.9.0

How did you install the app?

nightly

Homeserver

matrix.org

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MediaS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions