element-hq / element-hq/element-android

AVIF images are not recognized and shown as images

Open
#8,158 1 comment 0 reactions 0 assignees View on GitHub
A-Media 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. Send to yourself or receive an AVIF image
2. Notice it doesn't shown inline
3. Try to open it with an external app, no image viewer is presented

### Outcome

#### What did you expect?

I expected AVIF images to show inline as any other image. Besides that I expected to have the option to open it with an external image viewer like the standard gallery app.

#### What happened instead?

The image was shown as a regular file attachment. Opening it directly from within Element presented several apps to open it with, none of which were image viewers. However if the file is downloaded, and then opened via the Android file manager it opens it directly in the default gallery app.

### Your phone model

Samsung Galaxy S21
SHIFTphones SHIFT6mq

### Operating system version

Android 13

### Application version and app store

Element 1.5.25, both from F-Droid and the Google Play Store

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

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.