nextcloud systray icon gone - seems to be a timing issue
Affected version
Running latest ubuntu 20.04 64bit with all updates (11.1.2021).
Gnome-Version: 3.36.8, X11
Bug summary
Having nextcloud-desktop client (3.1.1) installed via ppa (https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client) allows to start the application and it keeps running in the background. On a fresh install last year the tray icon was working as epected but now it simply gone. It can be brought back by changing the autostart Exec in ~/.config/autostart/com.nextcloud.desktopclient.nextcloud.desktop to Exec=/usr/bin/bash -c 'sleep 5 && exec /usr/bin/nextcloud'
. The bug was already raised at https://github.com/nextcloud/desktop/issues/2597 but there the devs state that this is a bug coming from the desktop env and closed it.
I have the following extensions running:
https://github.com/ubuntu/gnome-shell-extension-appindicator
Steps to reproduce
Fresh ubuntu install with latest updates and nextcloud-desktop client configured in autostart.
What happened
nextcloud-desktop is running in the background but the tray icon is not visible.
What did you expect to happen
Tray icon is visible.
Relevant logs, screenshots, screencasts etc.
If you simply try to start nextcloud-desktop again it complains that its already running:
journalctl | grep -i nextcloud
...com.nextcloud.desktopclient.nextcloud.desktop[123945]: nextcloud.gui.application: Already running, exiting...
...systemd[1338]: gnome-launched-com.nextcloud.desktopclient.nextcloud.desktop-123945.scope: Succeeded.
Here a screenshot of the visible icon with the workaround in place: