element-hq / element-hq/element-android

Voice message sending a "blank voice message" when Bixby is triggered

Open
#3,768 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug
If you don't use the Android 10+ gesture hints and try to use your phone in a "fullscreen mode", when you try to send a voice message using the locked mode (by swiping the mic icon from the bottom), you trigger the system's voice assistant (at least it does with Bixby on Samsung phones), and when it does, you need to swipe up again to properly start recording. The bug is that the seconds counter (forgot the proper term for it, the thingy that shows how long your recording is), shows up and starts counting the time as if you're actually recording, which is confusing to say the least.

#### To Reproduce
Steps to reproduce the behavior:
1. Disable the gesture hints in your phone to use it in "fullscreen mode";
2. Swipe up from the corner to try and record a voice message;
3. See how the seconds counter in the left corner make it seem like it's being recorded;
3. Send it and then try to play the voice message you just sent;
4. See how it doesn't have a waveform and doesn't play anything.

#### Expected behavior
Either that it would properly record the message without needing to swipe up again for it to start or that the seconds counter wouldn't start counting while the voice message isn't being recorded.

#### Screenshots

(if there's any issues with playback of the video I can reupload it somewhere else, just recorded it in a hurry)
https://user-images.githubusercontent.com/63420929/127723872-04819728-d99b-4590-9a12-e7ac9163d2c6.mp4

![image](https://user-images.githubusercontent.com/63420929/127723919-a714e8c4-4adf-4f8b-a2f5-a1abde77e388.png)
The top message being the one sent without triggering the voice assistant and the bottom one trigerring it.

#### Smartphone (please complete the following information):
- Device: Samsung Galaxy A51
- OS: Android 11 (OneUI 3.1)

#### Additional context
- App version and store 1.1.15 [40101152] (G-b2969)
- Homeserver: kde.org

I know it is a niche issue, but it is easily reproducible and can cause some major confusion to some users, as it did for me.

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.