element-hq / element-hq/element-android

Certain images show up blank in the timeline

Open
#5,738 5 comments 0 reactions 0 assignees View on GitHub
A-Timeline O-Occasional S-Minor T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Receive a certain image
2. Observe the timeline

### Outcome

#### What did you expect?

Images should actually render

#### What happened instead?

Images show up blank (2 consecutive images in screenshot). This happens only when the "send image with original size option" is enabled, compressed images show up fine. When sending a compressed image, it initially shows up as blank in the timeline, but it shows up fine after restarting the app, not sure if that should be a different bug.

They show up fine in the gallery if i long tap and "Save" them.

Also, they show up fine in the timeline while uploading (When element shows you the progress bar).

![Screenshot_20220411-190951_Fork_Launcher_1](https://user-images.githubusercontent.com/67585967/162753057-25533bdd-8ffc-4037-be34-328f343e7755.png)

Image 1: https://0x0.st/obCq.png
Image 2: https://0x0.st/obCb.png

While uploading:

![Screenshot_20220411-192138_Fork_Launcher_1](https://user-images.githubusercontent.com/67585967/162754564-e8223b6d-27c2-4995-b617-2b378b87df7c.png)

### Your phone model

_No response_

### Operating system version

Android 11

### Application version and app store

Element 1.4.11

### Homeserver

_No response_

### Will you send logs?

No

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.