This forum has been archived. All content is frozen. Please use KDE Discuss instead.

System tray does not remember hidden entries

Tags: None
(comma "," separated)
User avatar
aramgrigoryan
Registered Member
Posts
13
Karma
0
OS
...Well, not always! this is somehow unpredictable and sometimes it does remember!
Hi,
We all know that it is possible to change the visibility of entries in the system tray menu
Image

In the options above i chose to always hide icons for workrave http://www.workrave.org/ and for f.lux https://justgetflux.com/
But every time (as i said most of the time) I log-in to the system those icons are visible there in the system tray!
Any idea is very much appreciated!

Thanks.
wolfi323
Registered Member
Posts
1129
Karma
11
OS
aramgrigoryan wrote:In the options above i chose to always hide icons for workrave http://www.workrave.org/ and for f.lux https://justgetflux.com/
But every time (as i said most of the time) I log-in to the system those icons are visible there in the system tray!

Those applications are probably using old-style (XEmbed) system tray icons. (you can check that by killing the process xembed-sni-proxy. old-style icons will disappear from the system tray then)

This setting does not work reliably for them at the moment:
https://bugs.kde.org/show_bug.cgi?id=356655

It should be improved and work for most(?) applications in Plasma 5.7 though.
User avatar
aramgrigoryan
Registered Member
Posts
13
Karma
0
OS
wolfi323 wrote:
aramgrigoryan wrote:In the options above i chose to always hide icons for workrave http://www.workrave.org/ and for f.lux https://justgetflux.com/
But every time (as i said most of the time) I log-in to the system those icons are visible there in the system tray!

Those applications are probably using old-style (XEmbed) system tray icons. (you can check that by killing the process xembed-sni-proxy. old-style icons will disappear from the system tray then)

This setting does not work reliably for them at the moment:
https://bugs.kde.org/show_bug.cgi?id=356655

It should be improved and work for most(?) applications in Plasma 5.7 though.

Thanks for the answer!
i thought the support was improved recently (read somewhere). but now i see that it is not...
wolfi323
Registered Member
Posts
1129
Karma
11
OS
aramgrigoryan wrote:i thought the support was improved recently (read somewhere). but now i see that it is not...

Well, support for old-style system tray icons has been added via xembed-sni-proxy (not in the system tray directly) with 5.5.0, if that's what you mean.
And except some specific problems (e.g. Java applications don't react to mouse clicks) it works fine too.

But this particular function does not work with old-style icons, as xembed-sni-proxy currently uses the window id as unique identifier, which changes on each login of course. So on next login the setting is not applied because the corresponding system tray icon seems to be a completely different one.
For 5.7 this was changed to use the window title instead (an old-style system tray icon is actually just a small window created and managed by the application and embedded into the system tray), which should be more consistent (if the application sets it at all).


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar