element-hq / element-hq/element-android

High resolution images fail to render & Image replies don't show images

Open
#8,558 4 comments 1 reaction 0 assignees View on GitHub
A-Media O-Uncommon S-Minor T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

There are two different cases where this will happen, one is guaranteed, the other is random.

The guaranteed case:
1. From another client (e.g. Element Web), reply to a message with an image
2. Open the chat
3. No image is present in the message.
4. The image can be viewed in the "uploads" section of the chat info.

The random (1 in 3) case:
1. Receive an image, either from another user, or by sending it from another client
2. Open the chat
3. The image is transparent/does not exist, but the message displays like it has an image. Clicking on the image does not display it either.
4. The image is also empty in the "uploads" section of the chat info.

In both cases, hitting the download button when attempting to view the image will successfully pull it.

### Outcome

#### What did you expect?
I expected the image that was sent to be displayed.

#### What happened instead?
The image either did not appear, or appeared invisible.

### Your phone model

Pixel 7 Pro

### Operating system version

Android 13 TQ2A.230505.002

### Application version and app store

F-Droid Element version 1.5.32, Matrix SDK Version 1.5.32, olm version 3.2.12

### Homeserver

synadm output: Server version 1.86.0, Python version 3.9.2

### Will you send logs?

Yes

### Are you willing to provide a PR?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.