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

Sending medias is super fragile

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

Description

Sometimes I try to send a media while I'm on 5G. I know the Rust SDK should enqueue the media in the send queue, but it seems the media sending gets stuck before this step, with the spinning loader still showing up. It seems to happen quite frequently, so maybe I can upload a rageshake for this later.

Worse: if I click "cancel" to abort the stuck sending, any attempt at re-sending by pressing "send" again causes absolutely no changes or no progress: nothing happens. In some other cases, I get an immediate error message, independently of the number of times I abort and retry. This means I can't re-send the media, and I may lose both the caption I've entered as well as the photo picture/video if I just recorded it. This has happened to me quite a few times, and it is quite frustrating.

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

25.06.2

### Homeserver

_No response_

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