Bug 503589

Summary: Corner barrier ignored when dragging window
Product: [Plasma] kwin Reporter: Alexander Potashev <aspotashev>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: fanzhuyifan, john.kizer, nate
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2025-04-30 19:32:52 UTC
SUMMARY
Corner barrier ignored when dragging window.

STEPS TO REPRODUCE
1. Have 2 screens (left/right)
2. Enable corner barrier (it's enabled by default). More specifically, I have "Corner barrier" enabled, however "Edge barrier: None".
3. Drag window title to move a window
4. Move mouse pointer all the way to the top of the left screen
5. Move mouse pointer along the top line of the screen to the right into the top-right corner (use case: auto-resize the window to 1/2 or 1/4 of the screen)

OBSERVED RESULT
If you move mouse pointer too far to the right, to move to the right screen immediately.

EXPECTED RESULT
Should respect corner barrier.

SOFTWARE/OS VERSIONS
Operating System: gLinux Rodete
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2
Kernel Version: 6.12.17-1rodete2-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Xeon® W-2135 CPU @ 3.70GHz
Memory: 62.4 GiB of RAM
Graphics Processor: Quadro P1000/PCIe/SSE2

ADDITIONAL INFORMATION