TeamNewPipe / NewPipe

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

The player controls don't hide when using external controls #3403

Closed Poomex closed 2 years ago

Poomex commented 4 years ago

Version

0.19.2

Steps to reproduce the bug

  1. Play video with a bluetooth speaker connected
  2. Press "pause" on the bluetooth speaker
  3. Press "play" on the bluetooth speaker
  4. The video starts playing again

Expected behavior

The player controls should hide after a few seconds

Actual behaviour

The player controls remain on screen and disappear only when it is tapped. This means that the play/pause controls on the bluetooth speaker become useless.

Screenshots/Screen recordings

Logs

B0pol commented 4 years ago

I can reproduce with my remote & Android TV

Generator commented 4 years ago

I can confirm that on v0.19.3. Tested on an Android TV Box and Phone.

Same issue, when used media keys the screen controls stay on screen till send cursor 'click', also pressing on play icon on screen controls, they don't hide.

How to reproduce

Stypox commented 4 years ago

Please test the apk provided in #3537

Generator commented 4 years ago

Done a quick test of #3537. Pressing 'Play' icon now hides screen controls. Pressing 'pause/resume' key on the remote, controls don't hide.

Stypox commented 4 years ago

Pressing 'pause/resume' key on the remote, controls don't hide.

I don't understand if this is considered bad behaviour or not ;-)

B0pol commented 4 years ago

On my remote play / pause / next / previous buttons are used for background player, then it's really useful until #3515 is fixed.

PetbkA commented 4 years ago

0.20 - same with Mi Band 2: play controls doesn't disappear after resume until I tap on the Play button

cbiere commented 4 years ago

0.20.1 on Xiaomi Mi A1: I can reproduce this with a wired headset (3.5 mm audio jack) that features a pause/play button. May be related: Newpipe doesn't resume playing after replugging the headset unlike AntennaPod which resume instantaneously.

Poomex commented 2 years ago

Unfortunately still not fixed as of 0.21.15