Bug 438155 - Monitor alignment 1 pixel off after re-enabling secondary monitor
Summary: Monitor alignment 1 pixel off after re-enabling secondary monitor
Status: RESOLVED DUPLICATE of bug 455394
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.21.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-06 11:22 UTC by Lorenz Hoffmann
Modified: 2022-11-09 20:42 UTC (History)
2 users (show)

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


Attachments
Commented and edited screenshot to show the bug (175.35 KB, image/png)
2021-06-06 11:22 UTC, Lorenz Hoffmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenz Hoffmann 2021-06-06 11:22:27 UTC
Created attachment 139032 [details]
Commented and edited screenshot to show the bug

SUMMARY
I have 2 monitors connected, primary on the left and secondary on the right. I regularly turn the secondary monitor off to save power.
After re-enabling it, the alignment of the monitors is 1 pixel off, so that the most right pixel row of the left monitor is displayed on the right monitor.
In other words, if I have a maximized window on the left monitor, the right pixel border of that window is displayed on the right monitor instead of the left.
The attached screenshot may explain this bug a little better

STEPS TO REPRODUCE
1. Connect two monitors, primary on the left and secondary on the right.
2. Disable the right monitor and immediately re-enable it.

OBSERVED RESULT
The monitors are aligned as described in the summary.

EXPECTED RESULT
The monitors should be aligned as before.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.21.5, Manjaro
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
There is also  another bug after re-enabling a monitor: the wrong refresh rate is selected (50 Hz instead of 60 Hz). I will open another bug report for this.
Comment 1 Lorenz Hoffmann 2021-06-06 11:29:29 UTC
Link to the refresh rate bug:
https://bugs.kde.org/show_bug.cgi?id=438156
Comment 2 Lorenz Hoffmann 2021-06-06 11:41:23 UTC
Only happens with OpenGL 3.0, which crashes after re-enabling a secondary monitor as described here: https://bugs.kde.org/show_bug.cgi?id=438157
Comment 3 Nate Graham 2022-11-08 22:04:58 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Plasma 5.25 or 5.26?

If it is, please change the status to CONFIRMED when replying. If not, or if you can't because you no longer use this setup, you can change the status to RESOLVED WORKSFORME. Thanks a lot!
Comment 4 Nate Graham 2022-11-09 20:42:13 UTC

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