Bug 482351

Summary: Glitch/artifact on screen edge with fractional scaling on Wayland
Product: [Plasma] kwin Reporter: Xiaoyan Ren <xy.r>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fanzhuyifan
Priority: NOR Keywords: qt6
Version: 6.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Xiaoyan Ren 2024-03-04 01:22:43 UTC
SUMMARY
On Wayland, if you apply fractional scaling by a percentage that does not fully divide the screen resolution, then there will be 1px of artifact on the right/bottom edges of the screen.

STEPS TO REPRODUCE
E.g. I have an 2560x1600 monitor.
1. Open Display Settings.
2. Choose a fractional scaling percentage that doesn't fully divide the resolution, i.e. 150% in my case.
3. Move windows around on the desktop.

OBSERVED RESULT
Observe that there is 1px of artifact on the bottom and right screen edge. It's typically patterns from the wallpaper, but occasionally some windows' details make it there as well.

EXPECTED RESULT
There is no artifact on the screen edge.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
Kernel Version: 6.7.8-zen1-1-zen
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics: Intel Iris Xe
Driver: kernel modesetting

ADDITIONAL INFORMATION
Screenshot for reference: https://snipboard.io/0B9kIc.jpg
Comment 1 fanzhuyifan 2024-03-04 03:06:31 UTC

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