Bug 444382

Summary: Wayland: cursor over Task Manager gets stuck in "grabbing" state after dragging file from Desktop to elsewhere
Product: [Plasma] plasmashell Reporter: gudvinr+kde
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED UPSTREAM    
Severity: minor CC: bugseforuns, nate, plasma-bugs, postix
Priority: NOR Keywords: wayland-only
Version: 5.23.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: Qt 6.8.1
Sentry Crash Report:

Description gudvinr+kde 2021-10-25 20:00:26 UTC
SUMMARY

I noticed today that for some reason after pointing at widgets (kickoff, system tray, datetime) cursor transitions to "grabbing" state and doesn't change after I remove it from widget. But it transitions again if I point to somewhere outside panel: desktop, firefox.

It probably happened because of something from before and it started to behave that way after because I didn't notice that behaviour earlier. Although I unfortunately can't say what exactly was the reason.

Cursor doesn't change shape when I point to spacers or task manager widget.

STEPS TO REPRODUCE
1. ???
2. Point cursor to widget on panel
3. Point somewhere else on panel

OBSERVED RESULT

Cursor stuck in "grabbing" state.

EXPECTED RESULT

Normal cursor that doesn't go into "grabbing" state in first place and doesn't get stuck after I remove it from widget


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

I tried to make screen record but Peek doesn't work with Wayland apparently
Comment 1 Nate Graham 2021-10-25 22:27:22 UTC
I can make this happen if I drag a file from the desktop to anywhere. The cursor will get stuck in the grabby state over Task Manager items Can you confirm that?
Comment 2 gudvinr+kde 2021-10-25 22:33:37 UTC
If I grab a file from desktop to my home dir in Dolphin then yes, it gets stuck in this state when you hover over task manager after that.

But I'm nut sure if that's the root cause of what I saw because I never have files on desktop.
Comment 3 Patrick Silva 2021-10-25 23:19:50 UTC
related bugs: bug 400014 and bug 438004
Comment 4 gudvinr+kde 2021-10-25 23:40:56 UTC
Oh, it isn't just grabbing cursor I guess. When I move mouse from "Places" to files list in Dolphin, cursor changes to one with green circle and + sign and stays like this until I move it outside of Dolphin.
Comment 5 postix 2024-11-10 11:32:36 UTC
I don't think I can reproduce this in 6.2.3 - can anyone else?
Comment 6 Nate Graham 2024-11-12 15:05:28 UTC
Could also be a Qt fix. What Qt version do you have, and on what distro?
Comment 7 postix 2024-11-12 16:46:58 UTC
Nate, I've tried it on 

Operating System: openSUSE Tumbleweed 20241107
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Graphics Platform: Wayland
Comment 8 Nate Graham 2024-11-12 17:07:30 UTC
OK, great. OpenSUSE is one of the distros that backports critical Qt fixes in a timely manner (in this case some fixes from 6.8.1), so let's call this one fixed.