Bug 279451

Summary: app doesn't remember app width, if app width > screen width()
Product: [Frameworks and Libraries] kdelibs Reporter: Paolo M. <paolomilani>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: berubeevan911
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Paolo M. 2011-08-05 13:46:26 UTC
Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

if you close a kde app (dolphin, kate...) when app width is greater than screen size, the application will start with maximum width. Always. Even when you close it with a smaller size.

this happens because in ~/.kde/share/config/APPLICATIONrc
there is:
Width 1280=1281
1280 is my screen resolution
To correct this bug, I have to change 1281 with a number < 1280.



Reproducible: Always

Steps to Reproduce:
1- run a kde app, for example dolphin. (but kate is also affected)
2- manually resize app, larger than screen width. For example, move the app "out" the screen and then resize it to be larger than screen width.
3- quit the application and run it again. App has maximum width.
4- now resize it to be smaller.
5- quit the application and run it again: app has maximum width! it should have the smaller size! now it happens always!

check in ~/.kde/share/config/dolphinrc
there is:
Width 1280=1281
1280 is my screen resolution
To correct this bug, I have to change 1281 with a number < 1280.



Actual Results:  
application has maximum width

Expected Results:  
application must have previous width, just before closing.