[Bug 150772] KMainWindow size restoring is broken wrt to maximization

Christoph Pfister christophpfister at gmail.com
Sun Nov 18 15:10:15 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=150772         
christophpfister gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |
            Summary|maximized window isn't      |KMainWindow size restoring
                   |correctly restored when     |is broken wrt to
                   |KXmlGuiWindow::createGUI()  |maximization
                   |is called                   |



------- Additional Comments From christophpfister gmail com  2007-11-18 15:10 -------
Although the testcase above works now, the real life behind it doesn't.
At least kaffeine and okular (and likely others too) don't restore their size correctly if they were maximized when you closed them.
Using QWidget::showMaximized() instead of KWindowSystem::setState() in KMainWindow::restoreWindowSize() solves it for both cases.


More information about the Kdelibs-bugs mailing list