Bug 418459 - Two display configuration with one above other has one pixel shift
Summary: Two display configuration with one above other has one pixel shift
Status: RESOLVED DUPLICATE of bug 455394
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (show other bugs)
Version: 5.14.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-04 10:45 UTC by Mykola Krachkovsky
Modified: 2022-11-10 21:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KScreen Config JSON (32.24 KB, application/json)
2020-03-04 10:45 UTC, Mykola Krachkovsky
Details

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