(Copied from https://invent.kde.org/sdk/kdiff3/-/issues/38) STEPS TO REPRODUCE 1. Open the main Kdiff3 window; 2. Size it comfortably but smaller than the entire screen; 3. Maximize the Kdiff3 window, close it, and reopen Kdiff3. The main window is initially correctly restored to a maximized state and size. Press the "OK" button in the file selection dialog. OBSERVED RESULT The window size is reset to the last non-maximized state size, although the window maximized state appears to indicate the window is still maximized. EXPECTED RESULT The window size should stay at its maximized dimensions. SOFTWARE/OS VERSIONS Windows: 10.0.19045.320 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION As a workaround, before triggering the maximized state of the Kdiff3 window, manually size it to the maximum possible dimensions on screen.
Works as expected using Kdiff3 0.9.98 from kdiff3.sourceforge.net, for comparison.
I can fix this easily enough from kdiff3 side. I think ultimately its a bug in Qt's save/restore feature which is supposed preserve fullscreen/maximized state and does on my test machine.
Weirdly on my test machine this starts out restored correctly. However on clicking cancel at the the initial open dialog to maximized status is flipped. This seems to be windows specific and does not happen under linux.
> Weirdly on my test machine this starts out restored correctly. However > on clicking cancel at the the initial open dialog to maximized status > is flipped. Yep, this is what I'm experiencing as well – from the description: > The main window is initially correctly restored to a maximized state and > size. Press the "OK" button in the file selection dialog. > > OBSERVED RESULT > > The window size is reset to the last non-maximized state size...
This no longer seems reproduces on my test machine with kdiff3 1.11.4. However I don't know what fixed it.
I can't reproduce it currently using KDiff3 1.11.2, either. It is possible a recent Windows update has fixed it. Also tried 1.11.4 – all good now.