Bug 466311

Summary: Multi-monitor size is calculated incorrectly with fractional scaling on plasma-wayland resulting in display overlaps
Product: [Plasma] plasmashell Reporter: adrian
Component: generic-multiscreenAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, nate, notmart
Priority: NOR    
Version: 5.27.1   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description adrian 2023-02-23 16:34:35 UTC
SUMMARY


STEPS TO REPRODUCE
1. Set primary monitor, (3840x2160) to 130% scaling.
2. Set secondary monitor (3840x2160) to 100% scaling to the right of primary.
3. Log out and log back in.

OBSERVED RESULT
There's a n overlap of a few pixels on the secondary monitor from the primary background which can be switched opposite by clicking on the secondary monitor background. Second monitor is docked at (2952,211). Launcher menu will open on the secondary screen.

EXPECTED RESULT
Monitors well separated and secondary position calculated correctly. The secondary monitor should probably be placed at (round(3840/1.3)=2954, round(2160/1.3)-1440 = 222). Launcher should open above launcher icon in the left-bottom screen of primary monitor.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo linux with plasma-wayland
KDE Plasma Version: 5.27.1 
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8-r3
Comment 1 adrian 2023-02-23 19:32:44 UTC
Just reread this, and the secondary is 2560x1440 of course, not 3840x2160.
Comment 2 Nate Graham 2023-02-24 20:01:24 UTC

*** This bug has been marked as a duplicate of bug 465850 ***