meetube icon indicating copy to clipboard operation
meetube copied to clipboard

[Bug]: PiP Displays the Entire YouTube Interface and In-App Mini Player Gets Stuck

Open Ishaanj2007 opened this issue 1 month ago • 4 comments

Checklist

MeTube version

3.1.1 Spectre

Phone or tablet, and Android version

Pixel 9a

Signed in to a Google account?

Yes

Network when it happened

Wi-Fi

What happened

Description

There are multiple playback issues when minimizing videos, switching between meTube and the home screen, and reopening the app.

Steps to Reproduce

  1. Open meTube and play any video.
  2. Return to the Android home screen while the video is playing in mini player.
  3. Observe the PiP window.
  4. Reopen meTube and check whether playback continues in the background.
  5. Play a video again, then press Back or minimize it to the in-app mini player.

Actual Behavior

  • Incorrect PiP UI: The floating PiP window displays the entire YouTube interface, including navigation elements, instead of showing only the video.
  • Unexpected background playback: When reopening meTube, the PiP window disappears, but playback continues in the background.
  • Stuck mini player: Pressing Back or minimizing a video sometimes leaves the in-app mini player stuck at the top of the screen. It cannot be repositioned normally and can only be dismissed by swiping it away.

Expected Behavior

  • PiP should display only the video content with appropriate playback controls, not the entire YouTube interface.
  • Reopening meTube should handle the existing PiP session and playback state correctly, without leaving hidden or unexpected background playback.
  • The in-app mini player should appear in its intended position, remain responsive, and support normal dismissal and repositioning.

Impact

These issues make video playback, multitasking, and navigation inconsistent and frustrating.

Possible Areas to Investigate

  • Android PiP activity configuration and lifecycle handling.
  • Playback session synchronization when returning to the app.
  • Mini player positioning, drag gestures, and dismissal state.

https://github.com/user-attachments/assets/bbc1468c-3c2a-44fb-81f9-1e917150cfd3

Video link

No response

Diagnostic log

No response

Anything else

No response

Ishaanj2007 avatar Oct 23 '26 05:10 Ishaanj2007

Weird Issue... I got two devices and both got this right without issues

will fix in next update though, thanks for letting me know :)

yashoncode avatar Oct 23 '26 07:10 yashoncode

Weird Issue... I got two devices and both got this right without issues

will fix in next update though, thanks for letting me know :)

Before posting issue I checked on another device unfortunately I faced same issue. Thanks. Always up for helping devs :) 

Ishaanj2007 avatar Oct 23 '26 11:10 Ishaanj2007

Sorted both parts of this. Picture-in-picture now shows just the video instead of the whole app, and going back from picture-in-picture no longer crashes or leaves the mini player stuck.

It's out in 3.1.5 Orizon, or update from Settings > About > Check for updates. If it still acts up for you, let me know here and I'll reopen it.

yashoncode avatar Oct 24 '26 19:10 yashoncode

Thanks for continuing to fix the bugs, but unfortunately the same behavior is happening again. Attached screenshots please take a look. Ver 3.1.5

Screenshot_20261025-055935_MeTube.png

Screenshot_20261025-055917_Smart Launcher.png

Screenshot_20261025-055924_MeTube.png

Ishaanj2007 avatar Oct 25 '26 00:10 Ishaanj2007