-
Notifications
You must be signed in to change notification settings - Fork 864
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
Fix player full screen causing the app to start in full screen #5138
base: development
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Full screen doesn't persist if player is full-screened
- Open a video
- Full screen the player, either through the button or the F hotkey
- Close the app e.g. Ctrl+Q or Alt+F4
- Open the app again and make sure it launches with normal window dimensions
Works!
Full screen persists if you full screen the window (regression test)
- Full screen the window e.g. F11
- Close the app e.g. Ctrl+Q or Alt+F4
- Open the app again and make sure it launches in full screen.
Works!
Full screen persists if you full screen the window and if player is fullscreened
- Full screen the window e.g. F11
- Full screen the player, either through the button or the F hotkey
- Close the app e.g. Ctrl+Q or Alt+F4
- Open the app again and make sure it launches in full screen.
App unfortunately doesn't launch in fullscreen, tested on win10
This comment was marked as outdated.
This comment was marked as outdated.
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
doesnt this also address #3220? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix player full screen causing the app to start in full screen
Pull Request Type
Related issue
Description
This is an alternative to #4649 that should hopefully work more consistently (the creator of that pull request is aware that I am making this one).
When the app is closed while in full screen regardless of whether only the player or the entire window was full-screened, we save the full screen state and restore it at start up. For people that full-screened the app that is great, but for people that full-screened the player it's less desirable to have the entire app start in full screen.
Testing
Full screen doesn't persist if player is full-screened
Full screen persists if you full screen the window (regression test)
Desktop