From 10fbca99a572dea5bd4056287357723b783d207c Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Tue, 11 Jan 2022 16:08:45 -0500 Subject: [PATCH] systemtray AbstractItem: only press and hold for menu with LeftButton It's not expected to be able to tap and hold with right mouse button --- applets/systemtray/package/contents/ui/items/AbstractItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applets/systemtray/package/contents/ui/items/AbstractItem.qml b/applets/systemtray/package/contents/ui/items/AbstractItem.qml index d24175d04..6cbdc76ee 100644 --- a/applets/systemtray/package/contents/ui/items/AbstractItem.qml +++ b/applets/systemtray/package/contents/ui/items/AbstractItem.qml @@ -101,7 +101,7 @@ PlasmaCore.ToolTipArea { abstractItem.hideImmediately() abstractItem.pressed(mouse) } - onPressAndHold: { + onPressAndHold: if (mouse.button === Qt.LeftButton) { abstractItem.contextMenu(mouse) } onWheel: {