Skip to content

Systray: call context menu fallback for legacy protocol#1839

Merged
bbedward merged 2 commits intoAvengeMedia:masterfrom
kanghengliu:poc/xembedsniproxy-bridge
Feb 25, 2026
Merged

Systray: call context menu fallback for legacy protocol#1839
bbedward merged 2 commits intoAvengeMedia:masterfrom
kanghengliu:poc/xembedsniproxy-bridge

Conversation

@kanghengliu
Copy link
Contributor

Issue

Wine apps that integrate their tray menu via xembedsniproxy (done in plasma desktop) don't have working context menu.

Fix

This is a poc that calls the dbus interface directly as a fallback for the wineapps to render X11 context menus.

Showcase

Excuse the double bar, the bottom one is the working branch.

recording_Wed.Feb.25.04.07.51.PM.EST.2026.trimmed.mp4

Improvement

Good to put the script at the GO backend, I'm not familiar with go programming.

Bugs

Seems to be a wine/xembedsniproxy issue, the tray icon would require two clicks to activate, both left click and right clicks. The signal sends correctly on qml side, it just needs to be sent twice.

kanghengliu and others added 2 commits February 25, 2026 16:11
directly call dbus contextmenu method. needs refactoring to be more
robust.
@bbedward bbedward merged commit a626908 into AvengeMedia:master Feb 25, 2026
1 check passed
bbedward added a commit that referenced this pull request Feb 27, 2026
* systray: add call contextmenu fallback

directly call dbus contextmenu method. needs refactoring to be more
robust.

* add TODO

---------

Co-authored-by: bbedward <bbedward@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants