Bug 333280 - Handling of fully included screens in clone setups with partial clones needs to be improved
Summary: Handling of fully included screens in clone setups with partial clones needs ...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: xrandr (other bugs)
Version First Reported In: 4.95.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-10 15:41 UTC by Aleix Pol
Modified: 2020-01-17 15:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Set up image (1.56 MB, image/jpeg)
2014-04-10 15:41 UTC, Aleix Pol
Details

Note You need to log in before you can comment on or make changes to this bug.
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?