-
Notifications
You must be signed in to change notification settings - Fork 790
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
Desktop Client - SysTray Icon does not show on Ubuntu 20.10 #2597
Comments
Wouldn't that be #1977 getting worse? |
Its possible - but i never experienced the issue reported there that i remember - I should add that there is no icon at all - not even an empty space or incorrect icon |
OK. That said (and unfortunately) I might need you to do similar investigations than the people on that other ticket. This kind of issues tend to be somewhere outside of our code and so it's hard to locate outside of a machine which is not affected. Word of caution: even if we do find the culprit we might or might not be able to do something about it, we're merely delegating that stuff to QSystemTrayIcon... |
Sure - more than happy to debug as requested - just let me know what you need me me to gather |
Let's summon @veddox who did a good chunk of that investigation on the other ticket, he might have good ideas to get you started. |
I had a similar issue. On Ubuntu 20.04 I had absolutely no problem. I have upgraded on Saturday to Ubuntu 20.10. The tray was not appearing. I have uninstalled the client from the Software Manager. Then I've tried to re-install it but now I have a missing dependency:
I've tried to download and use the AppImage from Nextcloud website but it slows my laptop like never before… |
i just tried this also - the reinstall was OK - i note you are referencing focal packages not groovy so perhaps PPA not updated for you looks like the icon is working again after reinstall - will perform some more tests and advise |
Looks like it's tied to the packaging somehow then... @ivaradi any idea? |
I have similar problems (also as #1977) on Fedora 33 I just upgraded to from Fedora 32. I'm using GNOME (3.38.1) on Wayland. |
I have the same problem. Oct 29 08:45:26 hoth systemd[2793]: Exec binary '/snap/bin/nextcloud-client' does not exist: No such file or directory
Oct 29 08:45:26 hoth systemd[2793]: Not generating service for XDG autostart app-nextcloud\x2dclient-autostart.service, error parsing Exec= line: No such file or directory
Oct 29 08:45:27 hoth gnome-session[3776]: gnome-session-binary[3776]: WARNING: Could not parse desktop file nextcloud-client.desktop or it references a not found TryExec binary
Oct 29 08:45:27 hoth gnome-session-binary[3776]: WARNING: Could not parse desktop file nextcloud-client.desktop or it references a not found TryExec binary
Oct 29 15:03:21 hoth systemd[1919]: Exec binary '/snap/bin/nextcloud-client' does not exist: No such file or directory
Oct 29 15:03:21 hoth systemd[1919]: Not generating service for XDG autostart app-nextcloud\x2dclient-autostart.service, error parsing Exec= line: No such file or directory
Oct 29 15:03:22 hoth gnome-session[2143]: gnome-session-binary[2143]: WARNING: Could not parse desktop file nextcloud-client.desktop or it references a not found TryExec binary
Oct 29 15:03:22 hoth gnome-session-binary[2143]: WARNING: Could not parse desktop file nextcloud-client.desktop or it references a not found TryExec binary
Oct 29 15:09:33 hoth nextcloud[2374]: nextcloud: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Oct 29 15:11:44 hoth systemd[1747]: Exec binary '/snap/bin/nextcloud-client' does not exist: No such file or directory Apearently there are problems with an old (uninstalled snap version) and also a |
On Fedora 33, GNOME desktop on Wayland I see with
|
Clearly a crash, seems to be somewhere in QtSingleApplication but the backtrace is trimmed. You got a core dump though, so you might be able to open this with gdb and produce a more complete backtrace (bonus point for installing debug symbols and debug sources first which would give something more likely to be exploitable). |
I zipped the ABRT crash directory, although ABRT stated it was of low informational usage: |
This is interesting as I have exactly opposite situations. Update: It's gone on Wayland now same as Xorg!, Seems to be an intermittent issue. |
Ok, here is a temporary fix:
Or if you are using AppImage, replace
Or if you can't run it because it's already running but hidden in the background, close it with
|
so my issue came back again - lock/logout did not fix - had to open the gui, exit fully then re-open - i seem to have a similar issue with synergy as well |
I've made the following observation: |
Same here but once the Nextcloud client has been relaunched this way it is then impossible for me to connect to my Nextcloud account through Gnome Online Accounts (more details here) |
This clearly looks like a timing issue... honestly I'm tempted to blame the systray code of Gnome. We're just requesting a systray icon, even if we got started before the gnome systray code kicks in (we got no control over that) that systray should find the nextcloud client is around and display the icon. KDE Plasma isn't affected by this for instance, even if the nextcloud client is faster to start than the rest of the session the icon is displayed just fine. |
I can confirm this observation. Totally works when the client is started "late enough", whatever that means precisely. |
Here is my workaround, based on @omid-1985's comment but simpler: Just update the Exec=/usr/bin/bash -c 'sleep 5 && exec /usr/bin/nextcloud' To revert the change (after the issue is fixed), just uncheck and check the |
Doesn't work here, still no systray Regular error message: -- |
@repsorp Did you try it with a Nextcloud Client 3.0.3 (Ubuntu) |
I just tried it but it didn't work either |
I've made the following observation:
@fnkr's workaround works for me. |
There seems to be a bug in the AppIndicator GNOME Shell Extension that's causing this: ubuntu/gnome-shell-extension-appindicator#250 (maybe 👍 there too) - I had the same problem with Flameshot, so it's not just Nextcloud. Also tray icons work for me when I'm using i3 instead of GNOME. |
At that point, this is clearly a desktop environment issue. We can't do anything about it. I'll thus close it. |
This worked for me on a fresh Ubuntu 20.04 installation. thanks so much. Whats weird is I have a Ubuntu 20.04 installation at home that does not exhibit this upstream? bug. One possibly related difference is that the issue exposes itself on a laptop using wifi and not on a desktop computer connecting via ethernet. |
Was this reported at gnome? Adding the sleep also helped to bring back my tray icon. |
Yes, it has already been reported. But there doesn't seem to be much activity. |
#2597 (comment) |
Facing the same issue, but on Ubuntu 20.04.1 LTS - no systray icon whatsoever but sync is working. Stopping and restarting the nextcloud client fixes the problem for me, i.e. the tray icon appears
I'll test the trick with delaying startup (#2597 (comment)) later, as I can't end my session right now. |
Wondering if ubuntu/gnome-shell-extension-appindicator#260 might fix this issue... |
Ah. I am also using ubuntu LTS as mentioned above. The workaround with the sleep fixed it for now. |
One-liner for automation: |
I am using the AppImage from Nextcloud with Ubuntu 20.04.
to my Found that Solution in the *.desktop from the jetbrains toolbox. |
For any Gnome-based environment, such as Ubuntu or Pop! OS which I am using, adding
Thanks for point this one out @fvonberg, helped me find the file. The appimage version seems to be using |
Note that the "X-KDE-autostart-after=panel" is likely useless though. By default it gets a "X-KDE-autostart-phase" of 2 which is after any "platformy" thing is started anyway. |
ubuntu 20.04 (using nextcloud-desktop package)
|
I tried it with `Delay=2' and it works fine, maybe somebody just wants less delay until the client starts. Just try it out for yourself if that works as well. |
2 seconds sleep did it, tks |
I realize that the OP had a different problem, but I was also experiencing "Desktop Client - SysTray Icon does not show" (but on NixOS - not really relevant). My problem was that I didn't have the AppIndicator and KStatusNotifierItem Support extension installed. |
How to use GitHub
Expected behaviour
Desktop Tray icon should be present
Actual behaviour
On Ubuntu 20.10 (Groovy Gorilla) the tray icon appears to not show at all, the nextcloud background process is however running OK and syncs appear to be running OK - Not sure if its an 20.04 > 20.10 upgrade issue or if its present on 20.10 out of box
Steps to reproduce
What is odd to observe is the window now loads off the dock rather than the top bar like before
Client configuration
Client version:
3.0.2
nextcloud-client 3.0.2-20200924.150911.068ad89d8-1.0~groovy1
Operating system: Ubuntu 20.10 (Groovy Gorilla)
OS language: English
Qt version used by client package (Linux only, see also Settings dialog): Does not say
Client package (From Nextcloud or distro) (Linux only):
(Ubuntu PPA)
deb http://ppa.launchpad.net/nextcloud-devs/client/ubuntu groovy main
Installation path of client: default
Logs
Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.
log.txt
The text was updated successfully, but these errors were encountered: