Quote:
Originally Posted by BeckyEbook
In Windows, it certainly remembers the maximized window.
I specifically deleted all .ini files to make the test more realistic.
Setting "maximized=true/false" is written and read correctly.
On my single-monitor computer, the fullscreen option always accepts "false".
If I manually change it to "true" it is also stored correctly.
A worse issue is the return to "fullscreen=false" state, because in fullscreen mode there is no visible title bar, so there is nothing left to do but to remove the "geometry" line completely.
|
I know that the state is recorded in the ini file, I was hoping that the calls to showMaximized and showFullScreen in ReadSettings in MainWindow.cpp can be commented out as that could prevent future race issues.
If you did try after commenting out that line, please let me know.
I just tried commented out those lines in Manjaro Linux and both fullscreen and maxmimized restoring still worked just fine.
So if it did work ok on Windows, I am going to comment them out in master to help prevent future race related bugs.
As for getting out of FullScreen mode, especially in Linux can be a real bear as well.
In macOS you just move the cursor up to the top left cursor of the screen and it will popup the titlebar buttons.
In Manjaro Linux, that did not work, neither did right clicking on where the menu bar might be, nor did using esc. I finally googled it and found that Alt-F3 makes a small menu pop-up that allows you to leave FullScreen mode. Leaving Maximized tate is much easier since the titlebar is always available.