element-hq / element-hq/element-android

Element cannot display images or videos in conversations when sharing actions.

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

Description

### Steps to reproduce

0. Set the dialog style of Element to Bubble;
1. Attempt to share arbitrary files in applications other than Element;
2. Select the target chat room to send in Element, and make sure that the recent conversation in the chat room includes pictures or videos (at least it can be displayed on the screen);
3. Send the file.

### Outcome

#### What did you expect?
n/a

#### What happened instead?
All bubbles used to display pictures or videos disappear.
If "Show Layout Boundaries" is turned on, all disappearing bubbles are compressed into placeholders that are invisible to the naked eye. If such bubbles are arranged in large numbers in a row, there will be a gap in the context of the conversation.

As the picture shows.
Left: When an exception is displayed (temporarily entering the chat room from an external application);
Middle: display exception and turn on the result of displaying layout boundaries (temporarily entering the chat room from an external application);
Right: Normal display (entering chat room from Element).
![{9E6A3A62-91BE-F741-F4D8-248DD716F4BD}](https://user-images.githubusercontent.com/48104960/175876212-255b8aa4-f4c0-4045-b016-471457f08600.jpg)

**I have 2 phones, only one of them has this problem. The client version used is the same.**
**Even if the message bubble is disabled, the display is still abnormal.**

### Your phone model

HMD Global Nokia TA-1054

### Operating system version

Android 8.1

### Application version and app store

Element 1.4.20 (F-Droid)

### Homeserver

Synapse 1.61.0

### 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.