Bug 287349 - Kate window expands to full screen width when dragged to desktop on second monitor
Summary: Kate window expands to full screen width when dragged to desktop on second mo...
Status: RESOLVED DUPLICATE of bug 285967
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 09:02 UTC by Steve Duncan
Modified: 2011-11-25 15:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
before dragging to other monitor (259.73 KB, image/jpeg)
2011-11-23 17:16 UTC, Steve Duncan
Details
after dragging to other monitor (119.11 KB, image/jpeg)
2011-11-23 17:17 UTC, Steve Duncan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Duncan 2011-11-23 09:02:31 UTC
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
Comment 1 Dominik Haumann 2011-11-23 16:25:43 UTC
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?
Comment 2 Steve Duncan 2011-11-23 17:16:38 UTC
Created attachment 65987 [details]
before dragging to other monitor
Comment 3 Steve Duncan 2011-11-23 17:17:20 UTC
Created attachment 65988 [details]
after dragging to other monitor
Comment 4 Steve Duncan 2011-11-23 17:17:55 UTC
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
Comment 5 Thomas Lübking 2011-11-23 17:24:24 UTC
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.
Comment 6 Steve Duncan 2011-11-25 09:30:56 UTC
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.
Comment 7 Thomas Lübking 2011-11-25 12:58:25 UTC
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 ***
Comment 8 Steve Duncan 2011-11-25 15:37:40 UTC
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).