TeamNewPipe / NewPipe

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

While in full-screen, pressing the back button sometimes goes to the previous video, in addition to leaving the full screen #8659

Open stdedos opened 2 years ago

stdedos commented 2 years ago

Checklist

Affected version

0.23.1

Steps to reproduce the bug

  1. Open a video in full screen
  2. Move to the next video
  3. maybe: don't wait for the video to start playing
  4. Press the back button to leave full screen

Expected behavior

Full screen is dismissed

Actual behavior

Previous video starts playing

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

S8

Additional information

On top of https://github.com/TeamNewPipe/NewPipe/issues/8658

opusforlife2 commented 2 years ago

maybe: don't wait for the video to start playing

Try this a bunch of times and see if that "maybe" turns into a "definitely".

stdedos commented 2 years ago

Steps to reproduce the bug

  1. Open a video in full screen
  2. Move to the end screens 2.5. Notice that the fullscreen was stopped, and you have "NP portrait" in landscape mode
  3. Press the next video to play
  4. Before the video loads, press the back button "to leave full screen" (i.e. switch to landscape)

Consistent repro

Monirzadeh commented 2 months ago

it happen when you play a new video without closing or finish previous video. if first video close than back functionality work correctly. is it possible to fix that? relay annoying