Steps to reproduce: 1. Open writer and maximize the window 2. Go to View - Full Screen 3. Press Esc key -> LibreOffice should come back to the same position and size reproduce it in Version: 6.2.0.0.alpha0+ Build ID: 3846561f79cf9065abd9ca83c9fbfbe7e52e28e2 CPU threads: 1; OS: Linux 4.13; UI render: default; VCL: kde5; TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-10-21_02:45:54 Locale: en-US (en_US.UTF-8); Calc: threaded but not in Version: 6.2.0.0.alpha0+ Build ID: 3846561f79cf9065abd9ca83c9fbfbe7e52e28e2 CPU threads: 1; OS: Linux 4.13; UI render: default; VCL: gtk3; TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-10-21_02:45:54 Locale: en-US (en_US.UTF-8); Calc: threaded
Reproduced with Version: 6.2.0.0.alpha1+ Build ID: cd9aa5bc508244082b4baf4a3094875bf2c6f992 CPU threads: 4; OS: Linux 4.18; UI render: default; VCL: kde5; Locale: en-GB (en_GB.UTF-8); Calc: threaded
Minimal window is reproduced also in the following case: 1) Call libreoffice with gtk3 $ SAL_USE_VCLPLUGIN=gtk3 libreoffice6.2 --writer 2) Maximize the window 3) Close the window 4) Open libreoffice with kde5 Result: window opens with the minimum size Version: 6.2.0.0.alpha1 Build ID: ff46ad24d1d3cbcea45895520483ed1fd4ff488b CPU threads: 1; OS: Linux 4.14; UI render: default; VCL: kde5; Locale: ru-RU (ru_RU.UTF-8); Calc: threaded
*** Bug 122275 has been marked as a duplicate of this bug. ***
Peeps please test with daily (no older than of 12th Feb) if this is still happening. I might've accidentaly fixed it along with bug 119853
(In reply to Katarina Behrens (CIB) from comment #4) > Peeps please test with daily (no older than of 12th Feb) if this is still > happening. I might've accidentaly fixed it along with bug 119853 I've retested with master as of commit 3b5dd1d49e3b5d669d020f0b268625b106c1c661 on Debian testing and Plasma: * the size is now restored remembered correctly (for original scenario and for that in comment 2) * position is not remembered for original scenario (but is for scenario in comment 2 except that non-maximized window is used)
> * position is not remembered for original scenario (but is for scenario in > comment 2 except that non-maximized window is used) O rly, does this apply to both dual and single screen?
Created attachment 149202 [details] Screencast to demonstrate changed position (In reply to Katarina Behrens (CIB) from comment #6) > O rly, does this apply to both dual and single screen? In my case, yes. Attached screencast is with a single screen, but the same happens with dual screen.
Katarina Behrens committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/e8e274b50658e1f9c2f40ce05249f7c857aeba64%5E%21 tdf#120791: restore window geometry coming back from fullscreen It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Now position and size gets restored going fullscreen w/ Writer and Calc but anything else e.g. slideshow in dual screen setup, I'm not sure Plus there is this: > (but is for scenario in comment 2 except that non-maximized window is used) It is not easily possible to restore maximized state of the window bc of "[isMaximized function] due to limitations on some window systems, this does not always report the expected results (e.g., if the user on X11 maximizes the window via the window manager, Qt has no way of distinguishing this from any other resize). This is expected to improve as window manager protocols evolve." [1] I tried to use it when returning from fullscreen, but if the result of 'was this window fullscreen before?' is wrong, it makes matters much worse [1] source: https://doc.qt.io/qt-5/qwidget.html#maximized-prop
Ah whatever, fixed. The fact that maximized bit is not remembered is NOTOURBUG
*** Bug 123522 has been marked as a duplicate of this bug. ***
Katarina Behrens committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/c4e9ed5f2614ae69f838cfca4621e1ecc56cba9b%5E%21 tdf#120791: restore window geometry coming back from fullscreen It will be available in 6.2.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.