Bug 469309 - Window temporarily appears in a wrong position when "unsnapping"
Summary: Window temporarily appears in a wrong position when "unsnapping"
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: Quick Tiling (show other bugs)
Version: 5.27.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-03 12:55 UTC by egor21312
Modified: 2024-09-30 12:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video demonstrating the behavior described in the report (2.27 MB, video/mp4)
2023-05-03 12:55 UTC, egor21312
Details

Note You need to log in before you can comment on or make changes to this bug.
Description egor21312 2023-05-03 12:55:02 UTC
Created attachment 158651 [details]
Video demonstrating the behavior described in the report

SUMMARY
When using Meta+LMB to drag the window out of the "snapped" state it appears in the pre-snap position until further mouse movement. Only happens with Meta+LMB dragging, titlebar drag action behaves as expected, following the pointer.

STEPS TO REPRODUCE
1. Snap the window to a side by moving it with either Meta+(Arrow) or titlebar drag/Meta+LMB (both work the same for this step)
2. Hold the Meta key and start holding LMB without moving the pointer itself.

OBSERVED RESULT
Window un-snaps itself and reverts to the position it was in before getting tiled to the side, it only begins following the pointer after it moves.

EXPECTED RESULT
Window immediately sticks to the pointer location and follows it smoothly. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Arch Linux, kernel 6.2.13-zen-1.1-zen
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2024-09-30 12:05:55 UTC
This should be fixed in 6.1.