Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dismiss playback actions popups on fragment detach #4365

Merged

Conversation

Olaren15
Copy link
Contributor

@Olaren15 Olaren15 commented Jan 2, 2025

Changes
Dismiss popups from playback actions (ex: closed captions, audio track, etc...) when the video player fragment is detached.
An open popup could hold an invalid reference to a videoPlayerAdapter when the app was exited and re-opened.

Issues
Fixes #4163

Other comments
I noticed that the actions have slightly different code styles for handling popups. I tried to not move stuff around too much, but I would not mind streamlining stuff a bit :)

Copy link
Member

@nielsvanvelzen nielsvanvelzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Those popups are a bit of a pain but this will do for now.

@nielsvanvelzen nielsvanvelzen added this to the v0.19.0 milestone Jan 3, 2025
@nielsvanvelzen nielsvanvelzen added bug Something isn't working backportable Change may be backported to a point release (remove label once cherrypicked) crash Bug causing app crashes labels Jan 3, 2025
@nielsvanvelzen nielsvanvelzen merged commit d91d873 into jellyfin:master Jan 3, 2025
6 checks passed
@Olaren15 Olaren15 deleted the bugfix/playback-popups-on-app-exit branch January 3, 2025 21:19
nielsvanvelzen pushed a commit that referenced this pull request Jan 6, 2025
* Dismiss playback actions popups on fragment detach

* Update CONTRIBUTORS.md

(cherry picked from commit d91d873)
@nielsvanvelzen nielsvanvelzen modified the milestones: v0.19.0, v0.18.4 Jan 6, 2025
@nielsvanvelzen nielsvanvelzen removed the backportable Change may be backported to a point release (remove label once cherrypicked) label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Bug causing app crashes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash after reopening app with context menu open
2 participants