element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Changing the screen orientation during video playback will cause the playback progress to be reset.

Open YamatoRyou opened this issue 2 years ago • 4 comments

Steps to reproduce

  1. Allow the system to automatically rotate the screen;
  2. Enter the conversation and click on a video to start playing it.

Outcome

What did you expect?

n/a

What happened instead?

If you rotate the screen during playback, the playback progress will be forcibly returned to the beginning of the video. And every time you rotate, the progress will be reset once.

Your phone model

HMD TA-1054; Mi 9T

Operating system version

Android 8.1; MIUI 12.5 by xiaomi.eu (based on Android 11)

Application version and app store

Element 1.5.20 (Google Play)

Homeserver

Synapse 1.75.0

Will you send logs?

No

Are you willing to provide a PR?

No

YamatoRyou avatar Jan 24 '23 02:01 YamatoRyou

It doesn't only interrupt video playback. It interrupts audio playback, audio recording, taking photos, ...

@mnaturel I'd like to suggest an edit of the title to something like "Changing screen orientation interrupts several Element functions" as well as removing the minor, media and occasional tags. Especially the interruption and subsequent hanging of audio recording is almost a dealbreaker at least for me because you have to hold your phone perfectly still when recording an audio message, otherwise, the screen might rotate and your recording will be messed up.

sgofferj avatar Dec 30 '23 10:12 sgofferj

It doesn't only interrupt video playback. It interrupts audio playback, audio recording, taking photos, ...

@mnaturel I'd like to suggest an edit of the title to something like "Changing screen orientation interrupts several Element functions" as well as removing the minor, media and occasional tags. Especially the interruption and subsequent hanging of audio recording is almost a dealbreaker at least for me because you have to hold your phone perfectly still when recording an audio message, otherwise, the screen might rotate and your recording will be messed up.

Hello @sgofferj, I have no longer access to the moderation of issues in this project. Maybe @manuroe or @bmarty you could take a look at the requested changes ?

mnaturel avatar Jan 02 '24 11:01 mnaturel

The title is fine. We can create another issue for audio recording and link it to this one. It looks like to be a full epic to manage every use case of media handling. Be aware the team is unlikely to actively work on it as we are fully busy on Element X. But this project is open source and contributions are still welcome.

manuroe avatar Jan 02 '24 11:01 manuroe

The title is fine. We can create another issue for audio recording and link it to this one. It looks like to be a full epic to manage every use case of media handling. Be aware the team is unlikely to actively work on it as we are fully busy on Element X. But this project is open source and contributions are still welcome.

Öhm, if I remember right, Element X isn't even in public beta yet and you're not going to fix a bug that's critical to UX? I'd say, sending voice messages is much more popular than sending text messages nowadays and at least for me, having to re-record every second voice message I send because I didn't hold the phone perfectly still, is a clear deal breaker. There are other Matrix clients but in general public view Element = Matrix and Matrix = Element, so this kind of UX problem has the potential to ruin the whole ecosystem...

sgofferj avatar Jan 20 '24 09:01 sgofferj