TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.02k stars 3.02k forks source link

Player controls stuck/don't fade when switching from another app (Android 12) #8993

Open opusforlife2 opened 1 year ago

opusforlife2 commented 1 year ago

Checklist

Affected version

0.23.3 and 0.24.0_RC1

Steps to reproduce the bug

  1. Play a video.
  2. Switch to another app.
  3. Switch back.

Expected behavior

On Android 10, the app resumes with the video paused and the player controls showing.

Actual behavior

On Android 12, the app resumes with the video playing, but the player controls still show up, and never fade away.

Personally, I would prefer that the video stays paused, but if it's standard Android 12 (or 11+) behaviour, then I don't mind. But the player controls should definitely fade away.

tsiflimagas commented 1 year ago

What's your "Minimize on app switch" setting? I can't reproduce this using your steps, though the player definitely has the controls-not-dismissing bug in other places, like pausing-resuming the video from the notification controls (though this seems to be fixed on a13, but I'm pretty sure it was there on a12.1), and when replaying an ended video (that's still there on a13).

opusforlife2 commented 1 year ago

That setting is set to "None".

tsiflimagas commented 1 year ago

Hmm, in a13 the video also pauses. So yeah, I guess the behaviour should probably be standardized across Android versions, and fix the controls hiding, if the chosen behaviour is to keep the video playing, as you said.