https://bugs.kde.org/show_bug.cgi?id=465438
Bug ID: 465438 Summary: Request for help to get some handle to a system tray icon created with libayatana-appindicator Classification: Plasma Product: plasmashell Version: 5.18.0 Platform: unspecified OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: System Tray Assignee: plasma-b...@kde.org Reporter: mozi...@jorgk.com CC: mate...@gmail.com Target Milestone: 1.0 This is not a bug report but a request for help. Sorry if this is the wrong way to go about it. I'm the project leader of Betterbird (www.betterbird.eu). In our feature request https://github.com/Betterbird/thunderbird-patches/issues/20 we've implemented notifications on the systray via https://github.com/AyatanaIndicators/libayatana-appindicator. We've also picked up their https://github.com/AyatanaIndicators/libayatana-appindicator/pull/17. The result looks pretty good in KDE, see here: https://user-images.githubusercontent.com/10415894/212687109-10227dcf-3cbf-44a8-81db-cbaaf3f25a9e.png (the resolution of the icon was fixed later, now using SVG). So far so good. The feature request we have is https://github.com/Betterbird/thunderbird-patches/issues/111. What we need to implement this is https://github.com/AyatanaIndicators/libayatana-appindicator/issues/4, see especially here: https://github.com/AyatanaIndicators/libayatana-appindicator/issues/4#issuecomment-1383906148 In short, we'd like to connect a listener (receive a callback) when the user clicks on the icon in the systray. The icon is created in libayatana-appindicator here https://github.com/AyatanaIndicators/libayatana-appindicator/blob/f225dccbd82f48bb1ab10767b9b074e24fedb0f3/src/app-indicator.c#L2032 via `g_dbus_connection_emit_signal(..., "NewIcon", ...)` and it appears that no handle to it is returned. Can you help us to get a grip on that icon so we get notified when it's clicked? -- You are receiving this mail because: You are watching all bug changes.