Make full screen persist after closing FT in full screen window and player.#8880
Make full screen persist after closing FT in full screen window and player.#8880caetano-dev wants to merge 3 commits intoFreeTubeApp:developmentfrom
Conversation
|
The tests from #5138 will need to be done too, to ensure that this doesn't reintroduce the issues that the original pull request fixed. |
absidue
left a comment
There was a problem hiding this comment.
This reintroduces the original bug of the FreeTube launching in fullscreen when the player was fullscreened without the window being fullscreened before and that bug is worse than the one this pull request is attempting to fix.
Steps:
- Launch FreeTube
- Make sure the window is windowed/not full screen
- Open a video
- Full screen the video player
- CTRL/COMMAND+W
- Re-open FreeTube
- It should be windowed
Number 7 is broken with this pull request.
Head branch was pushed to by a user without write access
|
Good catch. I tested the following scenarios: windowed -> open video without full screen player -> reopen as windowed |
|
Before i try did you test against these cases? |
|
Yes, I tested these cases and they work. |
|
Created a build and tested this but it unfortunatly doesnt pass this case
|
Head branch was pushed to by a user without write access
|
The previous version was working on MacOS, but broken on Linux and Windows, as you pointed out. I applied a fix and now these 4 scenarios seem to pass. I tested it on MacOS and Linux, but I don't have access to a Windows machine. windowed -> open video without full screen player -> reopen as windowed full screen -> open video without full screen player -> reopen as full screen |
|
Retested again on Windows and its almost good. My window is always maximized but when exiting fullscreen it will go into windowed mode. In it also returns into windowed mode instead of maximized
|
Pull Request Type
Related issue
Closes #8618
Description
Fixes a bug that caused FT to do not reopen in full screen after being closed with a full screen window and player.
Testing
Desktop