Bug 191072

Summary: konsole(using KMainWindow) should remember the last size, when maximized
Product: [Frameworks and Libraries] kdelibs Reporter: Matthias Heinz <mh>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: adaptee, konsole-devel, zilla
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Debian testing   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Matthias Heinz 2009-04-29 20:50:22 UTC
Version:            (using KDE 4.2.2)
Installed from:    Debian testing/unstable Packages

Hi,

I don't know if it's possible to find out, if the window was maximized. But if, then it would be nice to remember the last not maximized size.


Best regards,
Matthias
Comment 1 Jonathan Wakely 2010-07-22 13:44:08 UTC
do you mean that when restoring a previous KDE session with a maximized konsole, un-maximising konsole doesn't restore the original size, it stays at the same size, just not maximised?  If that's what you mean I agree it would be a nice improvement
Comment 2 Matthias Heinz 2010-07-23 20:18:27 UTC
Hi,

no, it's a bit different:

To reproduce resize your konsole window to for example 80x25. Then quit konsole and restart it again. The window should be 80x25 now.
Now, maximize the window and quit konsole. Restart konsole again, now you get a maximized window [1]. Now, switch maximization off, you get a konsole window with 118x44 and it would be great if the 80x25 would get saved somewhere.


Regards,
Matthias


[1] which is kinda annoying, too, it'd be nice to have default size, which you can set in the options
Comment 3 Jonathan Wakely 2010-07-23 22:09:55 UTC
yeah, that's basically what I meant - I think we agree :)
Comment 4 Matthias Heinz 2010-07-23 22:59:41 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Jekyll Wu 2012-02-14 18:17:31 UTC
Well, this seems a generic problem for KDE applications using KMainWindow.

Repeat steps in comment #2 for dolphin/gwenview/okular, and I get similar results.
The un-maximized size info is lost after maximizing and restating.
Comment 6 Matthias Heinz 2012-02-22 20:27:54 UTC
I figure that this bug is in the wrong category.

It would be great if someone could change the "product" accordingly.