| Summary: | Icons in the Task Manager being unresponsive to right-click | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | LSLSLS1 |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | major | CC: | apicalium, cwo.kde, kde, kdedev, meven, qydwhotmail |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | demonstration of the bug | ||
|
Description
LSLSLS1
2025-11-08 14:08:47 UTC
I don't reproduce or I don't understand the steps: > 2. Left-click somewhere else (this will expectedly close the menu) Where does this left-click happen, elsewhere on the task bar ? on the wallpaper ? On an application ? Maybe it does have any incidence ? > KDE Plasma Version: 6.4.5 I am using 6.5.1, so that might explain I don't reproduce this. This might have been fixed. Maybe recording a video would be simpler to demonstrate this (Meta+R) Created attachment 186650 [details]
demonstration of the bug
(In reply to Méven from comment #1) > Where does this left-click happen, elsewhere on the task bar ? on the > wallpaper ? On an application ? Any of those will do. > Maybe recording a video would be simpler to demonstrate this (Meta+R) I've uploaded a clip. > Operating System: NixOS 25.11
> KDE Plasma Version: 6.5.2
> KDE Frameworks Version: 6.19.0
> Graphics Platform: X11
Unable to reproduce, task manager behaves as expected. Does the issue occur in a Wayland or X11 session only?
Can reproduce on Wayland when the app you click into is _not_ plasmashell, i.e.: 1. right click entry in task bar 2. left click e.g. neochat or dolphin 3. right click task bar again Menu doesn’t open. (In reply to Savchenko Dmitriy from comment #4) > Does the issue occur > in a Wayland or X11 session only? I've only tested it on Wayland. Setting to confirmed, since Kai was able to reproduce. The problem is the TapHandler for right click in Task.qml. It binds a handler to onPressedChanged to open on button press, but when the menu opens, the Handler stops receiving mouse updates and never registers that it's no longer pressed. So when you try to press it again, pressed doesn't actually change, and the Changed signal is never sent. This time the release goes through, the pressed property becomes false, and the next attempt works again. The TapHandler sets `gesturePolicy: TapHandler.WithinBounds` to fix this, but this doesn't seem to work - not sure if that's a Qt change. I'm also not sure how to best fix this. > Can reproduce on Wayland > The TapHandler sets `gesturePolicy: TapHandler.WithinBounds` to fix this, but this doesn't seem to work - not sure if that's a Qt change. I'm also not sure how to best fix this Was able to reproduce with the exact same system on Wayland. Reproducing the bug also breaks the next left click, if you do that instead of the right click. I imagine this has something to do with Wayland not allowing applications to see out of bounds clicks and GestureHandler's implementation not working as expected with it |