linuxmint / xapp

Cross-desktop libraries and common resources
GNU Lesser General Public License v3.0
126 stars 44 forks source link

Some applications icons disappear from tray randomly #136

Open rado84-github opened 3 years ago

rado84-github commented 3 years ago
 * Cinnamon version (cinnamon --version)
4.8.6 from Arch repository.
 * Distribution - Arch Linux
 * Graphics hardware *and* driver used: GTX 1660 Ti 6GB, 465.27
 * 64 bit
 * Attach ~/.xsession-errors, or /var/log/syslog

There is no ~/.xsession-errors file existing in my home dir (or /var/log/syslog for that matter).

Issue Sometimes at random moments some apps icons disappear from tray and I have to restart Cinnamon for the icons to return to tray.

Steps to reproduce There's no specific order of steps to reproduce, since as I said - it happens randomly. It could happen at launching a program, or it could happen in an hour after launching it.

Expected behaviour Tray icons should never disappear.

Other information I've reported this issue to Telegram as well but a friend of mine said I should report this to Cinnamon. In his opinion, if restarting Cinnamon fixes the problem, it's a Cinnamon problem and should be reported here.

Lately this happens mostly with Telegram Desktop icon but I've seen it happen also with Transmission tray icon (when I used to use Transmission). Unfortunately in both cases there were no error logs or syslogs - that's why I haven't reported it earlier. However, the only error I could find was a few minutes ago in telegram's log and judging by its content, it's the only related thing that makes any sense regarding the issue:

[2021.05.03 16:30:01] Native Notification Error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.Notifications” on object at path /org/freedesktop/Notifications

mtwebster commented 3 years ago

I've seen this quite a bit as well, it's an issue with our StatusNotifier handler.

As a workaround for now, you can disable the 'xapp-sn-watcher' from Startup applications, and these icons should show up in the old system tray instead.

rado84-github commented 3 years ago

My latest discovery is that even with "xapp-sn-watcher" disabled (and ofc system rebooted), icons still disappear from tray. A temporary workaround is (if the program has that option) to disable "show tray icon" option in the program settings and then enable it back on. At first the tray icon appears like the traffic sign "no parking" but if you do that (disable/enable) several times quickly, eventually the icon shows up. Based on this experience, I'm thinking about completely uninstalling "xapp-sn-watcher" or maybe finding another tray app, if another one exists.