Open beedaddy opened 4 years ago
I've been seeing the same thing since updating to Gnome 3.36. Most of my icons survive the GDM lock screen but the Keybase icon does not. Keybase was installed through the official Arch repos and it did receive an update a while back specifically for Gnome 3.36. The application itself does not get killed by the lock screen; it's only the tray icon that disappears. As with the OP, I can't restore the tray icon without restarting the application.
The other icons that survive are: caffeine-ng, installed from the AUR Arch Linux Updates Indicator, installed from extensions.gnome.org OpenWeather, installed from extensions.gnome.org
Keybase is the only icon I have that doesn't survive.
System: Arch Linux gnome-shell 3.36.1 gdm 3.34.1
So it seems that (at least) electron based applications are affected...
Yes, Keybase is an electron app. I have electron 8.2.3 installed
There's an upstream issue for this: https://github.com/electron/electron/issues/22443
Based on that, the problem appears to be that Chromium doesn't support Gnome's DBus introspection protocol on status icons and menus after lock/wake. According to a developer response, this will require significant time and effort to resolve and won't likely be happening any time soon: https://bugs.chromium.org/p/chromium/issues/detail?id=1042098
Apps can add a workaround in the meantime: https://github.com/zulip/zulip-desktop/issues/910#issuecomment-608056150
I'm not sure if this workaround would need to be applied in all electron apps individually or if this tray extension can take care of that?
I checked journalctl /usr/bin/gnome-shell
and only got this:
Apr 22 07:25:10 zodd-pc appindicatorsupport@rgcjonas.gmail.com[7012]: unable to update icon for TelegramDesktop
I can confirm I have the same issue on Keybase on Ubuntu 20.04 LTS (GNOME 3.36.1)
The Discord tray icon survives the screen lock though.
It's the opposite in my case: Nextcloud (Qt) disappears, Mattermost (Electron) persists.
Same problem here with Discord .deb package.
set 06 22:23:52 debian gnome-shell[1236]: [AppIndicatorSupport-DEBUG] Registering StatusNotifierItem :1.136/org/ayatana/NotificationItem/disc
Upstream Electron decided to ditch Chromium’s incomplete DBUS implementation and brought back support for GTK/AppIndicator. It was backported back to v8. It should be sufficient for anyone with this problem to update their electron?
Don't know if this issue is related to #216...
When I do a screen lock (Super+L) and unlock it again, some icons are gone. For example, I have Nextcloud and Riot.im icons. After the procedure, only the Nextcloud icon is still visible but the Riot.im is gone. I have to kill the riot instance and restart it in order to make its icon reappear.
I'm using Arch Linux with Gnome 3.36.1.