Skip to content

element io client crashes on android when handling large images #2642

@Xargas

Description

@Xargas

Describe the bug
When a large image is sent, the android client of element.io crashes when the image shall be opened.

To Reproduce
Steps to reproduce the behavior:

  1. Get a large image (I used a jpg with 10064 x 2830 pixels from my desktop background)
  2. send it in a private chat ("personal room with only two people inside")
  3. open element.io on Android client
  4. app crashes (Version: 1.0.13)

Expected behavior
If the image is to large to convert: an error message.
Or a short delay until the image is displayed.

Screenshots
n.a. -> crash

Smartphone (please complete the following information):

  • Device: Xiaomi Poco F2 Pro
  • OS: Android 10

Add any other context about the problem here.
Additional Info:
Some large pictures (example in use was 3456x4608 from DSLR) are also not shown in the android client.
The size 3456x4608 does not crash the client.
From my point of view this would indicate some general problem with the image processing code?

Metadata

Metadata

Assignees

Labels

A-MediaO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectSomething isn't working: bugs, crashes, hangs and other reported problemsZ-CrashZ-WTFWTF moment: High Impact, Low Effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions