Bug 459751

Summary: After dropping a window: Grabbing cursor stays until mouse is moved
Product: [Plasma] kwin Reporter: postix <postix>
Component: effects-desktop-gridAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: minor CC: me, nate
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

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.