Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons missing after lock screen #228

Open
beedaddy opened this issue Apr 20, 2020 · 9 comments
Open

Icons missing after lock screen #228

beedaddy opened this issue Apr 20, 2020 · 9 comments

Comments

@beedaddy
Copy link

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.

@inthreedee
Copy link

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

@beedaddy
Copy link
Author

So it seems that (at least) electron based applications are affected...

@inthreedee
Copy link

inthreedee commented Apr 20, 2020

Yes, Keybase is an electron app. I have electron 8.2.3 installed

@inthreedee
Copy link

There's an upstream issue for this: electron/electron#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: zulip/zulip-desktop#910 (comment)

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?

@Nesaijn
Copy link

Nesaijn commented Apr 22, 2020

I checked journalctl /usr/bin/gnome-shell and only got this:

Apr 22 07:25:10 zodd-pc [email protected][7012]: unable to update icon for TelegramDesktop

@sunsetsonwheels
Copy link

sunsetsonwheels commented Apr 25, 2020

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.

@veddox
Copy link

veddox commented Jun 16, 2020

It's the opposite in my case: Nextcloud (Qt) disappears, Mattermost (Electron) persists.

@sandhilt
Copy link

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

@inthreedee
Copy link

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?

electron/electron#23674

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants