Bug 427065 - Window position and screen rules are not correctly applied in multi-screen setup...
Summary: Window position and screen rules are not correctly applied in multi-screen se...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: rules (other bugs)
Version First Reported In: 5.19.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-28 09:30 UTC by rob
Modified: 2023-09-06 10:38 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rob 2020-09-28 09:30:16 UTC
...if target screen scale does not correspond to the scale/resolution of the screen whos origin is equal to overall origin of multi-screen setup.

SUMMARY
Window position rules are not enforced correctly if scales (xrandr) differ between screens in a window

STEPS TO REPRODUCE
1. Generate window position and screen rules for application (e.g. dolphin, 500x500, screen 0).
2. Set the position and screen rules to FORCE.

OBSERVED RESULT
Window is positioned correctly at 500x500 upper left corner in single screen setup or in a multi-screen setup if the screens have same scale/resolution.
Window is position incorrectly at a relative position probably determined from that screens scale who's origin corresponds to overall setup origin.

EXPECTED RESULT
Window position should be determined considering scale differences between single screens in a multi-screen setup.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Xorg-server: 1.20.9-2
Comment 1 David Edmundson 2023-09-06 10:38:14 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.