Thumbnail images not displayed with Windows-App and Browser #28114
Labels
A-Media
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Steps to reproduce
The Client-Server-API describes in chapter 10.2.1.1 how to post a message with image
https://spec.matrix.org/unstable/client-server-api/#mimage
A single image can successfully be posted as described and is displayed correctly with Element via Browser, Windows-App and IOS-App.
However, if thumbnail images are included as described, the result depends on the platform. On IOS in the list of events in the room shows the thumbnail image and on touch the original fullsize image.
Accessing the same room with same user via Browser or Windows-App, in the list of events the original image is shown rendered to thumbnail dimensions. On click the original full-size image is displayed.
So via Browser and Windows-App a thumbnail image seams to be not supported.
Test Environment
The tests were performed in the following environments:
Element Desktop on Windows 10 pro 22H2 (Build 19045.4894)
Version von Element: 1.11.78
Krypto-Version: Rust SDK 0.7.2 (7a21514), Vodozemac 0.7.0
Element Web
Version von Element: 1.11.78
Krypto-Version: Rust SDK 0.7.2 (7a21514), Vodozemac 0.7.0
accessed with Chrome Version 129.0.6668.70 (Offizieller Build) (64-Bit)
Element IOS client
Element 1.11.18 (20240917151940)
Matrix SDK 0.27.13
Rust Crypto SDK 0.7.2 (Vodozemac 0.7.0)
The following server and user environment was used:
The generation of events was performed with Python scripts using matrix-nio
Test to reproduce this issue
There is the original full-size image with the following data:
Based on this image, a thumbnail image has been generated with the following data:
Both uploads have been successful and both images are accessible via urlweb or thumburlweb links.
With these two images an event has been successfully posted in a room:
Screenshots
Under IOS the generated thumbnail image is shown, and touching on this the fullsize original image is displayed.
Under Browser and Windows-App the original image (2000x1333px) is shown rendered to 323x215px. Clicking on this, the original image is displayed. The thumbnail image is not shown at all.
Browser (result not expected)
Windows App (result not expected)
IOS App (result as expected)
Event Raw Data
Looking on this event on the 3 platforms shows nearly identical raw data.
Browser, Windows-App and IOS-App differ in unsigned.age
Browser/Windows-App have unsigned.membership: "join" which is missing under IOS
The sequence of the json entries is same in Browser and Windows-App but differs in IOS-App, but this should never be a problem
Browser
Windows App
IOS App
Outcome
What did you expect?
Thumbnail of image shown in list of messages, full-size image shown on click
same as IOS app
What happened instead?
Windows app and Browser show full-size image rendered to thumbnail dimension, thumbnail noch shown
Operating system
Windows 10 pro 22H2 (Build 19045.4894)
Application version
Element: 1.11.78
How did you install the app?
element.io
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: