Version: (using KDE 4.3.2) OS: Linux Installed from: Debian testing/unstable Packages When I maximize a window, close the application while the window is maximized, restart the application (opens maximized like it should) and then demaximize the window I expect the application window to go back to the size it had before I maximized and closed it. Instead the window is demaximized to a fixed value with apparently the same aspect ratio as the maximized window. It did work in KDE3 and I am quite sure it did work some KDE4 versions before. I have tested this with konqueror, kontact and kwrite with different starting sizes. Konqueror: my size 1380x960 maximized: 1912x1075 (1920x1200 display with two panels, top and bottom, windows not allowed to cover the panels) demaximized after maximized closing: 1272x707 Kontact: my size 1350x893, maximized 1912x1075, demaximized 1272x707 Kwrite: my size 897x591, maximized 1912x1075, demaximized 1272x707 The windows demaximize fine, back to original size, if I don't close the window maximized. BTW: This demaximized size of 1272x707 looks exactely like the size of the ominous white square that appears after login for a short time (Bug 213739).
Maybe Bug 189180 is related?
When using hide() then show() Qt (or KWin) simply forgets the original non-maximized size (upstream bug?) But for an application exiting, i.e. destroying the QWidget object, it is possible to use resize(oldSize) then setWindowState(Qt::WindowMaximized) to get a maximized window that restores to oldSize later. The remaining problem is that Qt does not support the dedicated H/V maximization.
I'm having this exact same problem steps to reproduce: 1. Resize a window to an arbitrary size 2. Maximize the window 3. Close the window 4. Reopen the window 5. Un-maximize the window => Window gets some default size (scaled by desktop size) leaving out either step 2 (and 5) or step 3 (and 4) works like expected, the window regains the size that you chose in step 1. this is a big usability issue for me, as i trigger this problem very often.
Forgot to mention: i'm using KDE 4.6.3
*** Bug 165043 has been marked as a duplicate of this bug. ***
why the hell is this still not fixed after all these years?
Read comment #2 and provide a patch for Qt, KWin, and/or kdelibs.
@Johannes: My workaround for some applications is to set a fixed window size on initialization (window behaviour in systemsettings). Even when I close those windows maximized they open in those fixed size.
*** Bug 303255 has been marked as a duplicate of this bug. ***
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone!
I don't consider this a bug with KDE. It is the responsibility of the application to remember its position and size. That's how I write my own applications whether they are for Windows or Linux. That's my 2 cents.
Hi, kdelibs (version 4 and earlier) is no longer maintained since a few years. KDE Frameworks 5 or 6 might already have resolved this bug. If not, please re-open against the matching framework if feasible or against the application that shows the issue. We then can still dispatch it to the right Bugzilla product or component. Greetings Christoph Cullmann