Bug 296672

Summary: Kwin mishandles maximize height with 2 screens and primary screen above secondary screen
Product: [Plasma] kwin Reporter: Sergio <sergio.callegari>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.8.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergio 2012-03-24 09:25:13 UTC
Assume that you have a dual screen setup, say screen A and B.
Assume that you configure the screens so that A is the primary screen (panel goes on A).
Assume that you set things up so that A goes above B.

If you have a window in A and you ask kwin to maximize (or to maximize it vertically), the maximization height is wrong. Kwin maximizes to the full screen height, rather than subtracting the panel height.

If you set up things so that A goes below B then windows on A are maximized correctly.

Hence I suppose that in multihead setups kwin forgets to check where the panels are before deciding how to maximize.
Comment 1 Martin Flöser 2012-03-24 09:32:29 UTC
please have a look at the duplicate if that is your problem. If not please reopen. To me it sounds exactly like you have a panel between the two screens and this gets ignored.

*** This bug has been marked as a duplicate of bug 167852 ***
Comment 2 Sergio 2012-03-24 16:28:57 UTC
Yes, I think you are right in marking duplicate status. Sorry for the noise.