Bug 474843

Summary: Gap between corners and windows in certain display configurations
Product: [Plasma] kwin Reporter: miranda
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alx5000, miranda, nate
Priority: NOR    
Version: 5.27.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Mouse at corner of maximized window

Description miranda 2023-09-25 00:38:47 UTC
Created attachment 161851 [details]
Mouse at corner of maximized window

SUMMARY
At certain display scales there's a gap between the corners and, for example, the close button on windows. See attached screenshot for example. That vertical line is my mouse. Note that the "X" close button isn't highlighted. If I click, I end up clicking the window behind it.

This seems to primarily impact maximized XWayland applications when using non-integer scaling.


STEPS TO REPRODUCE
1. Set non-integer display scaling
2. Maximize an XWayland window
3. Move mouse to corner/edge

OBSERVED RESULT
Mouse targets slight gap into behind the window

EXPECTED RESULT
Mouse targets window

SOFTWARE/OS VERSIONS
Linux Version: 6.5.4-arch2-1
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-09-25 17:46:00 UTC

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