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

Voice message can't be sent after listening to it, may crash app

Open
#5,964 3 comments 0 reactions 0 assignees View on GitHub
A-Voice-Messages 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. Enter encrypted room with at least 3 participants
2. Record voice message, say 14 seconds long or so
3. Play back the message once or twice to make sure it sounds okay
4. Try to send the message

### Outcome

#### What did you expect?
I expected to be able to send the voice message I just recorded after listening to the preview.

#### What happened instead?
Firstly the send button didn't work, tapping it did nothing. Second, I thought I'd plug in a keyboard in case I could tab over to the button even if I couldn't touch-activate it, but shortly after plugging in my keyboard to my phone, Element X crashed. Unsure if the crash was time-related, keyboard-related, or a coincidence.

### Your phone model

OnePlus 8T

### Operating system version

LineageOS 23 / Android 16

### Application version and app store

Element X version 25.12.0

### Homeserver

w33b.cloud

### Will you send logs?

Yes

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the voice-message flow on the reported OnePlus 8T with LineageOS 23 and Element X 25.12.0, then inspect the supplied logs around preview playback, sending, and the keyboard event. Done means a recorded voice message can be sent after one or more previews without the send button failing or the app crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.