element-hq / element-hq/element-x-android

Sending image hangs indefinitely

Open
#4,685 28 comments 0 reactions 0 assignees View on GitHub
A-Send_Attachments O-Occasional S-Major T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1. Open an existing 1:1 room with another user on the same homeserver.
2. Tap the "+" icon in the bottom-left corner.
3. Tap "Photo & Video Library".
4. Tap an image.
5. Tap the send button.

### Outcome

#### What did you expect?

The image should be sent to the other user.

#### What happened instead?

The "Sending..." dialog and animated spinner are displayed indefinitely (or at least for the two minutes that I've waited). After I click "Cancel", the send button no longer responds to taps. I get the same results after closing the image activity and trying again.

![Image](https://github.com/user-attachments/assets/3af89704-3c1a-401b-aab5-6b7274c960cc)

This happens when sending to different users on my homeserver. I'm able to send image attachments to the same users without any problems from Element Web v1.11.99.

It doesn't appear to be connectivity-related; I see the same behavior on cellular and wifi. I believe that this worked for me in the past.

### Your phone model

Pixel 7a

### Operating system version

Android 15

### Application version and app store

Element X 25.04.3 (Play Store)

### Homeserver

Synapse 1.128.0

### Will you send logs?

Yes

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