Bug 217259

Summary: Invalid maximized window after start on Windows
Product: [Applications] kate Reporter: Arseny Klimovsky <arseny.klimovsky>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: andriusmao, kde-windows
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Arseny Klimovsky 2009-12-03 21:01:30 UTC
Version:            (using KDE 4.3.0)
OS:                MS Windows
Installed from:    MS Windows

If Monitor has high resolution more than 640x480 (I suppose), I can see the following bug. When I open Kate for the first time or open some file, associated with Kate, the window appeared is not Maximized, the the button is not "Maximize" the the opposite. To reproduce it you should save is default session maximized window position. On the screenshot you can see just incorrect situation.
Comment 1 Arseny Klimovsky 2009-12-03 21:03:33 UTC
Created attachment 38813 [details]
screenshot
Comment 2 Andrius 2009-12-03 21:33:56 UTC
cc'ing kde-windows mailing list
Comment 3 Arseny Klimovsky 2009-12-03 22:07:46 UTC
This bug is reproducible in versions:
4.3.0, 4.3.3 in Windows XP 32-bit.
4.3.0 in Winows XP 64-bit,
4.3.3 in Windows 2003 

but the behavior is correct in version 4.2.3 in Windows 2003.

So, I suppose the bug was introduced in KDE 4.3.0 version and does not depend
on OS version.
Comment 4 Carlo Segato 2009-12-25 17:47:01 UTC
SVN commit 1066068 by segato:

clear the window state before resizing otherwise(at least on windows) the window is still considered maximized and it's not possible to maximize it again when restoring the state from the config file
BUG: 217259


 M  +1 -0      katemainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1066068