Bug 189180

Summary: kontact kmail window size not restored
Product: [Unmaintained] kmail Reporter: p92
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bugzilla, diego.ml
Priority: NOR    
Version: 1.11.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description p92 2009-04-09 09:23:37 UTC
Version:           1.11.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-14-generic

kde 4.2.2
kontact is configured to always show kmail tray icon 
. Start kontact
. go to kmail
. maximize kmail window size
. click kmail tray icon => kmail window disappear (OK)
. click kmail tray icon => kmail window reappear (OK) 
BUT kmail window size is not maximized (BUG)

you can try with different kmail window sizes, kmail always reappears in the same fixed window size when clicking in the tray icon
Comment 1 Janet 2009-10-05 15:48:23 UTC
It's a little different here with Kmail 1.12.1/KDE 4.3.1:

When I configure kmail (I also use it through kontact) to always show the tray icon and maximize the kontact window it is correctly restored maximized when I click on the tray icon. But when I after that action demaximize the window it isn't restored to normal size but a lot smaller (same width as the not maximized size I had before but the height is less, seems to be in the aspect ratio of my display 16:10). When I maximize the kontact window and demaximize it again  without using the hide and show function of the tray icon the size is restored well.
Comment 2 Diego 2010-01-27 11:38:07 UTC
Still happens with Kontact 4.3.4 on Fedora 12. Forcing fullscreen from "special settings for applications" in KWin and then removing the special options workarounded the bug for me. Now it works fine.
Comment 3 Janet 2010-01-27 12:19:59 UTC
It affects all windows/applications here, not only kontact/kmail: Bug 214325
Comment 4 Diego 2010-01-27 14:15:25 UTC
This is mostly related to unminimizing applications from system tray: it does not remeber its state (maximized or not). I remember I've seen (and continue seeing) this from time to time in Amarok too.
Comment 5 p92 2010-02-16 17:39:24 UTC
This seems to be fixed as of :
Qt: 4.6.1
KDE Development Platform: 4.4.00 (KDE 4.4.0)
KMail: 1.13.0