Bug 459751 - After dropping a window: Grabbing cursor stays until mouse is moved
Summary: After dropping a window: Grabbing cursor stays until mouse is moved
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: effects-desktop-grid (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-27 17:29 UTC by postix
Modified: 2022-09-28 17:37 UTC (History)
2 users (show)

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


Attachments
Screenshot (288.99 KB, image/jpeg)
2022-09-27 17:29 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-09-27 17:29:11 UTC
Created attachment 152472 [details]
Screenshot

STEPS TO REPRODUCE
1. Open the grid effect
2.  Drag and drop a window to a different screen
3.  Don't move the mouse on drop

OBSERVED RESULT
The dragging cursor stays. 

EXPECTED RESULT
The cursor becomes a pointer, since nothing is being dragged anymore.


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.80 (f343f3fb80284a8e402b39924c789b629806ac62)
Comment 1 postix 2022-09-27 17:29:55 UTC
It becomes a pointer in the moment the mouse is moved again after the drop.
Comment 2 ratijas 2022-09-28 17:37:36 UTC
Unfortunately, not much we can do about it, given the current state of event handing in QtQuick. However, they (Qt folks) are working on a fix for MouseArea::hoverEnabled to be applied and reset `containsMouse` property immediately, so hopefully a similar approach would fix cursor updates next as well.