Bug 465124

Summary: Windows don't snap to the right on second monitor
Product: [Plasma] kwin Reporter: gudvinr+kde
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: jlp, kde, natalie_clarius, nate
Priority: NOR Keywords: wayland
Version: 5.26.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: layout

Description gudvinr+kde 2023-02-01 15:12:58 UTC
Created attachment 155850 [details]
layout

SUMMARY

If I resize window to the right, right side of the window don't snap to the right edge on my second display.
It snaps to the left, it snaps to both edges on my primary screen.

HOWEVER, this only happens if left part of the window already snapped to the edge. If it's free floating and I resize to the right, window does snap to the right edge.

My monitor layout in attachment.

STEPS TO REPRODUCE
1. Open window on second screen (right one)
2. Snap left edge to left edge of the screen
3. Resize until it should snap to the right side too

OBSERVED RESULT
Window does not snap

EXPECTED RESULT
Snapping is consistent across all edges

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX Vega M GL Graphics
Comment 1 David Edmundson 2023-02-01 16:14:17 UTC
Reproduced with just 115% scaling on the rightmost monitor.