Version: unspecified (using KDE 4.7.2) OS: Linux The Kate window expands to full screen width when dragged to another desktop on a second second monitor. Reproducible: Didn't try Steps to Reproduce: Open Kate on one desktop, set up multiple desktop working, drag Kate window from one desktop to the other. Expected Results: Kate window should stay the same size Kubuntu 11.10 on Dell precision M4600 laptop
Window management is handled by kwin. Maybe your 2nd screen is smaller? Does it also happen when moving the window from the 2nd to the 1st monitor?
Created attachment 65987 [details] before dragging to other monitor
Created attachment 65988 [details] after dragging to other monitor
The dimensions of the screens are both 1920x1080. VGA is set as the primary monitor. Only Kate does this. It happens in both directions, and only the width is affected. The height stays the same, so the Kate window ends up being short and fat. I have just tried chrome, dolphin, thunderbird, konsole. None of these apps exhibit the problem, which makes me think it is something inside Kate. Cheers, Steve Duncan
This is most likely bug #285967 (forget about the title), caused by a unidirectionally maximized window (see the xprop checks described there) and false positive geometry restriction. Please have a look at the bug, check whether the behaviour/states match and the "workarounds" work. Then please call back in any case.
Thanks, that worked. I simply edited ~/.kde/share/config/katerc and deleted the lines that said "Width 1920=1921". There were three such lines; I had to delete them all in order to get the desired effect. I think the bug can be closed or demoted given this workaround exists.
Just to be sure, there were different lines like eg: "Width 1920=1921" "Width 1600=1601" "Width 1024=1025" "Height 1200=1201" and NOT three times "Width 1920=1921" - yesno? *** This bug has been marked as a duplicate of bug 285967 ***
That's correct. The "Width 1920=1921" only appeared once per section, alongside some other values for different screen resolutions. However it appeared in three sections (MainWindow,MainWindow0 etc).