bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
8.22k stars 1.1k forks source link

App stops responding when backing out of a paused video sometimes #5279

Open MetaflameDragon opened 1 week ago

MetaflameDragon commented 1 week ago

Describe the bug

Pausing a video (reproducible without pausing, see below) and using the back gesture sometimes caused the video to start playing again, and the app stopped responding to input. Reproducing it was wildly inconsistent though.

To Reproduce

  1. Open a video to start playing it
  2. Tap to show the interface, then pause the video reproducible without pausing, see below
  3. Go to the previous screen. With luck, this will trigger the bug.

Screenshots

https://github.com/user-attachments/assets/b1ece2f4-5b10-4474-82e1-f361b241db82

Details

Additional details

When reviewing the video, I noticed that audio kept playing after backing out for the first time, though the interface indicated otherwise. Not sure if this is a UI desync (should keep playing) or if the intent is to mute again.

MetaflameDragon commented 1 week ago

Reproduced without pausing. Not sure if pausing causes it more consistently, but the freeze can happen while the video is playing too. In this case, video control elements didn't show up over the video when it froze.

This also made me notice that, for some reason, only my screen recorder captured audio while the video was shown to be muted (related to what I noted in Additional Details), but the phone itself wasn't actually playing audio at that time. So... low priority weirdness I guess?

https://github.com/user-attachments/assets/0cc13299-d31e-4ef8-88ff-9fcd7e51c361

MetaflameDragon commented 1 week ago

Managed to reproduce without even tapping on the video itself. Simply doing the back gesture to go to my home screen and then opening the app caused it to freeze.

I think it might be worth noting that I use navigation gestures instead of the navigation bar at the bottom, so back means swiping away from the side of the screen.