Summary: | windows don't remember their size after closing window maximized | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Janet <bugzilla> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | cfeck, enda_k2, ivo, j.k, lucas, vmelkon |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Janet
2009-11-13 00:27:09 UTC
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. |