Created attachment 145924 [details] video demonstration SUMMARY My main monitor with 1440 vertical resolution and second monitor with 1024 on vertical. Second monitor placed in right-hand of primary monitor and centered on vertical. So second monitor has position +2560+208. On second monitor there is a plasma panel on top. When I move window on primary monitor by vertical axis from bottom to top it sticks/snap/hangs around +208+24 position and can move further only after mouse pass +208 position. Despite some weird recording artifacts I show it on this video https://youtu.be/SZSH1JiTtFg STEPS TO REPRODUCE 1. Setup second monitor on side of primary and offset it by vertical. 2. Place plasma panel on top of second monitor 3. Drag window on main monitor from bottom to top OBSERVED RESULT Window snaps at some point on main monitor, right when pass height where placed panel on second monitor. It also snaps when moved from top to bottom. EXPECTED RESULT Window should be moved smoothly from bottom to top and top to bottom on this monitor. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Kernel Version: 5.16.2-1-MANJARO (64-bit) Graphics Platform: Wayland Processors: 12 × Genuine Intel® CPU 0000 @ 3.20GHz Memory: 31,0 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630
Created attachment 145925 [details] arrangement of monitors
Can you reproduce the bug when using unrestricted move, i.e. Meta+left click?
Nope, only reproduces when grab title. And found that this bug can be reproduced only if window title was below the threshold. If title initially above threshold it can moved smoothly.
https://invent.kde.org/plasma/kwin/-/blob/e1d47b59463eb8c842c27c9de3a4b9dfd840f4ec/src/abstract_client.cpp#L1367 the constraining algorithm handles poorly the screen area being split in smaller rects
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1948
*** This bug has been marked as a duplicate of bug 401271 ***