Bug 418459

Summary: Two display configuration with one above other has one pixel shift
Product: [Applications] systemsettings Reporter: Mykola Krachkovsky <w01dnick>
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.14.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: KScreen Config JSON

Description Mykola Krachkovsky 2020-03-04 10:45:35 UTC
Created attachment 126589 [details]
KScreen Config JSON

SUMMARY
Two displays (same size each — 1920x1080) when configured one above other can't be placed perfectly matching left/right edge. Sticking makes the display you're moving 1px to the left of other. Placing them horizontally has no such threshold.

STEPS TO REPRODUCE
1. Two identical size display (I'm not sure they has to be identical) place vertically one above other, they'll stick together. 
2. Apply configuration.
(3. Long press (without moving) on both screens to detect their positions.)

OBSERVED RESULT
Display that was moved is placed at x=0, while other at x=1. You may notice this by:
1. Mouse moving at edge stuck at that 1px threshold.
2. Long press shows coordinates like (0,0) and (1,1080) if top screen was moved or (1,0) and (0,1080) if bottom was moved.
3. `kscreen-console outputs | grep -E '^(Pos|Size)'`
```
Pos:  QPoint(1,1080)
Size:  QSize(1920, 1080)
Pos:  QPoint(0,0)
Size:  QSize(1920, 1080)
```

EXPECTED RESULT
Sticking should place screens at the same x=0 coordinate without threshold.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20200229, x86_64
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION

JSON configuration in attachment.
Comment 1 Nate Graham 2022-11-10 21:27:43 UTC

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