Bug 502867

Summary: Resizing windows on multi-screen does not snap to screen edges
Product: [Plasma] kwin Reporter: Alexandre Pereira <pereira.alex>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Edge barrier image

Description Alexandre Pereira 2025-04-16 00:38:14 UTC
SUMMARY
In a multi screen configuration, using monitors side by side, resizing windows on the right monitor does not snap to screen edges.

In the left monitor, when resizing near the screen edges, it snaps to the left and right side edges (and top/bottom).
But in the right monitor, it does not snap to the left and right side edges (but does on top/bottom).

STEPS TO REPRODUCE
1. Open some window on the right positioned monitor
2. Resize it till touch the side edges
3. Watch that it does not snap/create resistance to movement.

OBSERVED RESULT
No snap or resistance on the side edges on the right positioned monitor.

EXPECTED RESULT
Snap or resistance on the side edges on the right positioned monitor like on the left positioned monitor.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.2-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-04-16 16:00:36 UTC
I can half reproduce this. When I resize Dolphin on my right monitor, it snaps to the left edge, but not the right one.
Comment 2 Alexandre Pereira 2025-04-17 00:36:03 UTC
Created attachment 180336 [details]
Edge barrier image
Comment 3 Alexandre Pereira 2025-04-17 00:36:59 UTC
(In reply to Nate Graham from comment #1)
> I can half reproduce this. When I resize Dolphin on my right monitor, it
> snaps to the left edge, but not the right one.

To me it also does not happen on the left edge.
Maybe, I forgot to mention that I am doing the resize using `meta + mouse right button`. (If I resize with just the mouse left button, it does have some resistance, but due to the edge barrier setting, setting shown on attachment).
Comment 4 Alexandre Pereira 2025-04-17 00:38:48 UTC
(In reply to Alexandre Pereira from comment #3)
> (In reply to Nate Graham from comment #1)
> > I can half reproduce this. When I resize Dolphin on my right monitor, it
> > snaps to the left edge, but not the right one.
> 
> To me it also does not happen on the left edge.
> Maybe, I forgot to mention that I am doing the resize using `meta + mouse
> right button`. (If I resize with just the mouse left button, it does have
> some resistance, but due to the edge barrier setting, setting shown on
> attachment).

Sorry, rereading it after posting this message, made me think that it was not clear in "To me it also does not happen on the left edge."

What I meant is, it also does not have resistance on the left edge, meaning, it has the same issue as the right edge! Sorry!