AFinity icon indicating copy to clipboard operation
AFinity copied to clipboard

Playback closes when switching from PIP to fullscreen

Open gguzzina opened this issue 2 months ago • 2 comments

Describe your issue

When trying to switch back from picture in picture to fullscreen, the video just closes.

It does not look like a full crash of the app, because if I open the app I am still in the same page.

Steps to reproduce

  1. Start playing a video. Any video.
  2. Switch to picture in picture. Using the button, or just opening a notification to switch to a different app.
  3. In the picture mind picture window, click the maximize button to go back to fullscreen.
  4. Playback is dead

Expected behavior

The Video Playback continues in fullscreen.

Screenshots or screen recording

No response

Player

Not player related

Issue area

Playback

Media information (if applicable)

This seems to happen for all video content.

Logs

09-27 10:36:35.680 D/App: WebSocket: Sessions updated !
09-27 10:36:36.013 D/App: MPV surface changed: 595x298
09-27 10:36:36.052 D/App: MPV surface changed: 595x298
09-27 10:36:37.686 D/App: Reported progress: 1736000ms, paused: false, audio: 1, sub: 2
09-27 10:36:37.689 D/App: WebSocket: Sessions updated !
09-27 10:36:37.701 D/App: WebSocket: Sessions updated !
09-27 10:36:38.709 D/App: WebSocket: Sessions updated !
09-27 10:36:40.737 D/App: WebSocket: Sessions updated !
09-27 10:36:41.771 D/App: MPV surface changed: 2160x1080
09-27 10:36:41.875 D/App: Playback stop reported to Jellyfin: item=d84233f7-e22e-7f37-4d91-fddfc7ab4cb0, positionTicks=17400000000
09-27 10:36:41.881 D/App: WebSocket: Sessions updated !
09-27 10:36:41.930 D/App: Moved item to start of continue watching: [Redacted]
09-27 10:36:41.988 D/App: Updated show DB cache for: [Redacted] (2005)
09-27 10:36:42.188 D/App: MPV surface destroyed in player screen
09-27 10:36:42.188 D/App: MPV surface destroyed and detached
09-27 10:36:42.212 D/App: Playlist state updated: index=-1, hasNext=false, hasPrevious=false
09-27 10:36:42.212 D/App: Queue cleared
09-27 10:36:42.390 D/App: Batch processing 2 user data changes
09-27 10:36:42.480 D/App: Updated show DB cache for: [Redacted] (2005)
09-27 10:36:42.498 D/App: Updated show DB cache for: [Redacted] (2005)
09-27 10:36:43.896 D/App: Bus: user data changed — refreshing playback sections

Additional context

No response

Device

Fairphone 4

Android version

16

Afinity version

v0.12.000 beta

Jellyfin server version

12.0

Connection type

Local network

Checklist

  • [x] I have searched for similar issues before creating this one
  • [x] I am using the latest version of Afinity
  • [x] This issue is reproducible

gguzzina avatar Sep 27 '26 08:09 gguzzina

Should be fixed in the latest release @gguzzina please test and provide feedback

MakD avatar Oct 05 '26 10:10 MakD

Indeed, thanks a lot!

gguzzina avatar Oct 05 '26 11:10 gguzzina