Commit 03f98226 authored by Claudio Holo's avatar Claudio Holo Committed by Nate Graham
Browse files

applets/systemtray: fix SNI context menu usage without libappindicator

StatusNotifierItem.qml does not explicitly handle the case of
right-clicking, which causes right-clicks to be ignored unless you also
happen to have the libappindicator package installed, which injects a
handler for this itself. But this should work even if you don't have
that package installed; this commit fixes it.

BUG: 449870
FIXED-IN: 5.24.1
parent 928a2edb
Pipeline #137330 passed with stage
in 8 minutes and 44 seconds
......@@ -61,6 +61,9 @@ AbstractItem {
case Qt.LeftButton:
taskIcon.activated(pos)
break;
case Qt.RightButton:
openContextMenu(pos);
break;
case Qt.MiddleButton:
var operation = service.operationDescription("SecondaryActivate");
let service = model.Service;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment