Commit b53fec37 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


(cherry picked from commit 03f98226)
parent 843c5ae6
Pipeline #137331 passed with stage
in 14 minutes and 30 seconds
......@@ -58,6 +58,9 @@ AbstractItem {
});
taskIcon.activated()
break;
case Qt.RightButton:
openContextMenu(pos);
break;
case Qt.MiddleButton:
var operation = service.operationDescription("SecondaryActivate");
operation.x = pos.x;
......
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