Bug 469141 - Right-clicking on Tasks produces no context menu
Summary: Right-clicking on Tasks produces no context menu
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-04-29 14:24 UTC by Nate Graham
Modified: 2023-05-06 12:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!