Any systray plasmoid (I mean e.g. battery, audio or custom ones) is never exposed to left-click. It is bound to have a FullRepresentation and left-click is eaten by the systray itself to show or hide the full representation of given plasmoid. So there is no possibility for a plasmoid in systray to act simply like e.g. keyboard layout switcher. I think there should be a way for plasmoids to specify (e.g in metadata.desktop) if they are "full-blown" or "simple". Reproducible: Always Steps to Reproduce: 1. Extract attached org.kde.weatherWidgetTest.zip archive to ~/.local/share/plasma/plasmoids 2. Copy ~/.local/share/plasma/plasmoids/org.kde.weatherWidgetTest/metadata.desktop to ~/.local/share/kservices5 3. Add "Weather Widget Test" plasmoid to panel and click on it -> should show text "clicked" 4. Check "Weather Widget Test" in systray plasmoid settings and apply Actual Results: It will only be left-clickable in expanded part of plasmoid. Expected Results: There should be a possibility to disable FullRepresentation for a plasmoid is systray so it is possible to let left-click event through systray to plasmoid itself to be handled there. I've got Plasma 5.4.1, KF 5.13. Original question in forums: https://forum.kde.org/viewtopic.php?f=64&t=127451&sid=1bfc22e18f577aa69fbe4bf1b041e088
yes, cicks are completely managed by the systray itself at the moment. you talk about an attacment of an example plasmoid, should be attached in the bug report too
Created attachment 94946 [details] Test widget for left-clicking
Sorry, I forgot to attach it.
Systemtray implementation is changed, this should be one of the problems fixed. (clicks are managed by plasmoids themselves now)
Cool, thanks! I'll test it as soon as possible.