Bug 467635

Summary: On X11, cursor stuck dragging when hovering over Task Manager after streaming with Moonlight
Product: [Plasma] plasmashell Reporter: evskof <evskof>
Component: Task Manager and Icons-Only Task ManagerAssignee: Plasma Bugs List <plasma-bugs>
Status: REOPENED ---    
Severity: normal CC: groszdanielpub, nate, qydwhotmail
Priority: NOR    
Version: 5.27.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: bug happening on KDE Neon

Description evskof@gmail.com 2023-03-21 04:15:35 UTC
Created attachment 157477 [details]
bug happening on KDE Neon

SUMMARY
When disconnecting from a Moonlight stream running for long enough, moving the cursor over a Task Manager item starts dragging it until you click.

STEPS TO REPRODUCE
1. Install Moonlight Game Streaming and connect to another computer running Sunshine
2. Wait a while (I got it to happen within 10 minutes one time, another time I couldn't at all)
3. Disconnect from the stream
4. Hover over a Task Manager icon
5. Try again if nothing happens (can take a long time to happen unfortunately)

OBSERVED RESULT
The cursor gets stuck on Task Manager icons

EXPECTED RESULT
The cursor does not get stuck

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux, KDE Neon, probably any other distro
KDE Plasma Version: 5.27.3, different on versions before 5.27
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Older versions than 5.27 have the same issue but don't actually trigger a drag
This seems to only affect X11.
Logging out seems to be the only way to fix this (restarting plasmashell doesn't work)
I've had this happen with other apps, but it happens to me most often with Moonlight.
Qt apps also behave strangely with no hover effects and focus being stuck (see attached video)
Comment 1 Grósz Dániel 2023-04-06 10:38:27 UTC
The same thing has happened to me a few times lately, I don't know what triggers it in my case.

Operating System: openSUSE Tumbleweed 20230403
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-1-default (64-bit)
Graphics Platform: X11
Comment 2 Fushan Wen 2023-05-27 16:31:51 UTC

*** This bug has been marked as a duplicate of bug 466675 ***
Comment 3 Grósz Dániel 2023-10-15 14:01:15 UTC
This happened to me again, in plasmashell 5.27.8, kwin 5.27.8, X11. I don't know what triggers it, but once it's triggered, the symptoms are the same as those of the reporter.

It doesn't seem to be a duplicate of Bug 466675. That one is about dragging TO a taskbar item not working. In this one, among other symptoms, moving the mouse over taskbar items without clicking behaves like dragging a taskbar item itself.
Comment 4 Grósz Dániel 2024-03-28 22:11:06 UTC
Oh crap, this isn't gone even in Plasma 6. It happens about once a month.

Operating System: openSUSE Tumbleweed 20240321
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: X11