Bug 469141

Summary: Right-clicking on Tasks produces no context menu
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal Keywords: qt6
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2023-04-29 14:24:21 UTC
STEPS TO REPRODUCE
1. Log into a Plasma 6 session (built from source from the commits immediately before the layer-shell porting)
2. Right-click on a Task Manager task

OBSERVED RESULT
No context menu

EXPECTED RESULT
Context menu appears

SOFTWARE/OS VERSIONS
Qt 6.4.3

ADDITIONAL INFORMATION
Seems like the TapHandler in Task.qml eats right-clicks despite having "acceptedButtons: Qt.LeftButton" set on it; removin this Taphandler makes right-clicks get handled by the other one that accepts the right button. Possibly a Qt bug, if it's not an intentional behavioral change that we need to adjust to.
Comment 1 Kai Uwe Broulik 2023-05-05 08:42:34 UTC
Git commit a9cdac5f0095d4ba02df9bf0d8f50ed1155e266c by Kai Uwe Broulik.
Committed on 05/05/2023 at 08:36.
Pushed by broulik into branch 'master'.

Task Manager: Accept TouchPad taps as well

Otherwise the context menu only works with a mouse.

M  +1    -1    applets/taskmanager/package/contents/ui/Task.qml

https://invent.kde.org/plasma/plasma-desktop/commit/a9cdac5f0095d4ba02df9bf0d8f50ed1155e266c
Comment 2 Nate Graham 2023-05-06 12:39:23 UTC
Fixed with today's master built against Qt 6.5!