Bug 475612

Summary: Inter-Monitor Pixel Bleed in KDE Multi-Monitor Setup
Product: [Plasma] kwin Reporter: Zack Melan <zackmelan>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 5.27.8   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The line can be seen above the text of MONITOR 1 and MONITOR 2

Description Zack Melan 2023-10-14 15:35:17 UTC
Created attachment 162300 [details]
The line can be seen above the text of MONITOR 1 and MONITOR 2

SUMMARY
***
In a dual or multi-monitor setup in KDE, a 1-pixel line from an application window on one monitor bleeds onto the edge of the adjacent monitor. This occurs when an application window is stuck to the side of a monitor that is adjacent to another monitor. For example, when an application window is open on Monitor 1 and is stuck to the right side (which is adjacent to Monitor 2), a 1-pixel line from the application window can be seen on the left edge of Monitor 2. The same issue occurs in reverse when an application window is stuck to the left side of Monitor 2.
The 1-pixel seems to be from a frame highlighting the entire window, shouldn't this frame be considered part of the window?
***


STEPS TO REPRODUCE
1.Connect two or more monitors and configure them in KDE Display Settings such that one monitor is adjacent to another (e.g., Monitor 2 is on the right side of Monitor 1).
2.Open any application on Monitor 1 and stick it to the right side of the monitor.
3.Observe a 1-pixel line from the application window on the left edge of Monitor 2.
4.Repeat the steps with the application window on the left side of Monitor 2 and observe the 1-pixel line on the right edge of Monitor 1.

OBSERVED RESULT
Observe a 1-pixel line from the application window on the left edge of Monitor 2

EXPECTED RESULT
No 1-pixel lines should exist outside the monitor on which the app is sticking to its edge

SOFTWARE/OS VERSIONS
OS Name: ArchLinux
Linux/KDE Plasma: 5.27.8
(available in About System)
KDE Plasma Version:  5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Graphics Platform: Wayland
Graphics Driver: Mesa 23.2.1-2
Comment 1 Zack Melan 2024-05-13 20:16:52 UTC
not having this issue in 6.1 or 6.0