Bug 463628

Summary: Mouse cursor randomly remains stuck in wrong state after a drag-n-drop
Product: [Applications] dolphin Reporter: php4fan
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: major CC: bugseforuns, kfm-devel
Priority: NOR    
Version: 22.08.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description php4fan 2022-12-30 18:23:02 UTC
STEPS TO REPRODUCE
I don't know, this happens randomly and sporadically.
I guess this makes it more likely to happen:

1.  use Dolphin
2.  Move files and folders around by drag-n-drop, even into external applications, e.g. dragging them into FileZilla to upload them
3.  try to make crazy, fast movements. For example, hover over some folder on the "breadcrumb" at the top of the Dolphin window so that a submenu with the subfolders shows up, but move away before it's completely open (that alone doesn't reproduce the issue); try to move the mouse when you release the button; try to make things happen in an unlikely order which you failed to consider as possible.

OBSERVED RESULT

Sometimes the mouse cursor remains "stuck" in a state that it should no longer be in, with the green circle with a "+" inside, indicating that you are dragging something that will be copied to the destination when you'll drop it. Except that you are no longer dragging anything


EXPECTED RESULT

This should never, ever happen. The displayed state of the cursor should always be consistent with the actual state of things, and you should guarantee that at the deepest level. Also, you shouldn't trust yourselves and you should take every opportunity to update the state so that, if a wrong state has "leaked", it will get corrected e.g. the next time you click or something. It's absolutely ridiculous that the "leaked" state can remain for so long. I found no way to correct it other than closing all Dolphin windows, which is very destructive.


Operating System: Manjaro Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.8-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz
Memory: 7.3 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics
Manufacturer: LENOVO
Product Name: 81WE
System Version: IdeaPad 3 15IIL05