Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 274967

Summary: KDE 3.5.10 multimonitor screen geometry bug
Product: Gentoo Linux Reporter: Stephen Fairchild <signupaddress>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My xorg.conf
Second screen with "maximized" window
Fix KWin maximize windows bug on separate X mode
Fix KWin maximize windows bug on separate X mode

Description Stephen Fairchild 2009-06-21 18:10:57 UTC
The bug can be observed when using KDE 3.5.10 and using two monitors with different resolutions.

What happens is applications are positioned as per the geometry of the first screen when opened in the second so in my case this results in windows extending way beyond the boundary of the screen when maximized.

Reproducible: Always

Steps to Reproduce:
1. Connect and configure for two monitors with different native resolutions. I am using separate X screens for the X configuration (attachment to follow).
2. Use KDE 3.5.10
3. Run an application like Firefox in the second screen and maximize it.

Actual Results:  
Application window grows beyond the screen boundaries. Your mileage may vary.

Expected Results:  
Ideally the application window would conform to the screen.


As a workaround I can mask kde-base/kwin-3.5.10 and downgrade to the kwin from KDE 3.5.9. This fixes the bug but may create problems as yet undiscovered so it's not ideal.
Comment 1 Stephen Fairchild 2009-06-21 18:15:02 UTC
Created attachment 195371 [details]
My xorg.conf
Comment 2 Stephen Fairchild 2009-06-21 18:38:14 UTC
Created attachment 195374 [details]
Second screen with "maximized" window

This is a screenshot of the second screen. The first screen has a geometry of 1680x1050. Note how the application window sizing is incorrect and appears to be sized for a screen of size, say 1680x1050.
Comment 3 Grigory Mozhaev 2009-07-13 14:01:53 UTC
Created attachment 197783 [details, diff]
Fix KWin maximize windows bug on separate X mode

I wrote the patch what totally fix this problem. Hope to see it in portage tree.
Comment 4 Grigory Mozhaev 2009-07-13 15:17:19 UTC
Created attachment 197792 [details, diff]
Fix KWin maximize windows bug on separate X mode

I found one interesting issue what can't be fixed by using previous patch:
if you have panel (kicker) in 'bottom' ('right','left','up' works fine) state, then after maximization some part of window hide by panel. So this patch include previous and fix that issue. Works perfect for me.

Have a nice day.
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2009-07-15 15:53:01 UTC
Stephen,

does the patch also work for you?
Does it work for anyone else?
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-11-09 10:44:18 UTC
KDE 3.5.10 has been masked for removal, this won't be fixed...