Bug 333280

Summary: Handling of fully included screens in clone setups with partial clones needs to be improved
Product: [Plasma] kwin Reporter: Aleix Pol <aleixpol>
Component: xrandrAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 4.95.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Set up image

Description Aleix Pol 2014-04-10 15:41:14 UTC
If I maximize on a system where there are 2 screens with different resolution, I get the window maximized to the smaller resolution although the whole desktop is being set up in the bigger screen.

I'm attaching an image so that it makes more sense what I mean.

Reproducible: Always
Comment 1 Aleix Pol 2014-04-10 15:41:46 UTC
Created attachment 86033 [details]
Set up image
Comment 2 Martin Flöser 2014-04-10 15:52:10 UTC
I'm using a similar setup in daily productive work and don't have such issues.

A few things to try:
* is that also happening with non-Chromium windows?
* how does it look if you kill plasma?
Comment 3 Thomas Lübking 2014-04-10 16:18:24 UTC
seems a cloned/overlapping setup - can't test atm, but the maximize area will be calculated for the "wrong" screen.

what if you move the unmaximized window so that 50% are on the non-overlapping region of the bigger screen?
Comment 4 Aleix Pol 2014-04-10 16:54:09 UTC
Martin:
- It does happen with konsole and systemsettings too. On the other hand, I must say that depending on where the screen is, it uses the bigger size.
- Same thing happens without a plasma

Thomas:
- Yes, it seems to use the correct size
Comment 5 Thomas Lübking 2014-04-10 18:54:27 UTC
Raises the question why a client would reasonably be considered on fully included screens.

- wanted partial maximization (poor mans tiling: "i keep my toolwindows on the free part"; projector case: "demo on both, text on mine only")
- impact on currect screen estimation (where do new windows popup and does one really want to restrict that area / maximum size?)

An alternative solution might be two-step maximization (maximize - maximize more - restore)
Comment 6 Thomas Lübking 2014-04-12 19:13:11 UTC
btw, the bigger screen is the secondary one, right?
Tried making it the primary?