desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Tray Icon not Working on Fedora 39 & GNOME

Open alexknop opened this issue 1 year ago • 9 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Fedora 39 (released 11/7) comes with a newer version of GNOME (45.1) and now the tray icon for Nextcloud is not working. First, the tray icon will not show by default. I don't see any officially documented solutions for this but after some research I installed the GNOME extension "Tray Icons: Reloaded" and now I am seeing the icon, image

However when I right click on it, the options are showing on the left side of the screen: image

It doesn't appear there is an official method of implementing a tray icon for GNOME at the moment, so Nextcloud documentation should be updated to reflect updates to GNOME and workarounds or the status of the tray icon needs to be laid out to Linux users. As of now, the documentation makes it seem users should expect a visual tray icon that has options that will appear underneath it if you right-click.

Steps to reproduce

  1. Install Fedora 39 Workstation
  2. Install Nextcloud Desktop Client
  3. Tray icon will not show
  4. (Optional) Use Tray Icons: Reloaded GNOME extension to force tray icon to appear. Right-clicking on the tray icon won't have its options show directly underneath.

Expected behavior

On previous Fedora/GNOME versions, the tray icon options would load directly underneath the icon.

Which files are affected by this bug

NA

Operating system

Linux

Which version of the operating system you are running.

Fedora 39

Package

Appimage

Nextcloud Server version

27.1.2

Nextcloud Desktop Client version

3.10.1 (Fedora)

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • [ ] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs

No response

Additional info

No response

alexknop avatar Nov 07 '23 16:11 alexknop

I don't know whether I should open a new issue or just comment here, but I have recently started having the same issue (no icon in the system tray) with KDE Plasma on a Debian Testing. Plasma 5.27.9 KDE Frameworks 5.107.0 Qt 5.15.10 Graphics platform: X11 Kernel 6.5.0

If I want to open the application, I need to launch it from a terminal by typing nextcloud or double click on the .desktop file.

Freeedim avatar Nov 09 '23 10:11 Freeedim

works for me with native client fedora 39 gnome

a73s avatar Nov 10 '23 17:11 a73s

@a73s which GNOME extension are you using to get the tray icon to show?

alexknop avatar Nov 10 '23 17:11 alexknop

@a73s which GNOME extension are you using to get the tray icon to show?

"AppIndicator and KStatusNotifierItem Support"

a73s avatar Nov 10 '23 17:11 a73s

@a73s it is acting just like Tray Icons: Reloaded where the icon shows but right clicking is placing the options on the other side of the status bar. Not sure what is going on. But no documentation to reflect at least needing these extensions.

alexknop avatar Nov 10 '23 17:11 alexknop

I also use https://extensions.gnome.org/extension/615/appindicator-support/, and it works fine for me on Fedora 39, GNOME Wayland desktop.

janvlug avatar Nov 11 '23 09:11 janvlug

Yeah I didn't realize I had to reboot but the AppIndicator and KStatusNotifierItem Support extension made it work for me. The other extension must be broken. However, still requesting Nextcloud provide some sort of documentation on this. Linux users shouldn't be left in the dark, even if we're used to having to research and put the puzzle pieces together ourselves.

alexknop avatar Nov 11 '23 12:11 alexknop

I also use https://extensions.gnome.org/extension/615/appindicator-support/, and it works fine for me on Fedora 39, GNOME Wayland desktop.

Yeah, It work for me, thanks!

dinhphu28 avatar Feb 15 '24 09:02 dinhphu28

I think that the issue is that the newer versions of gnome don't actually have a traditional "system tray" or anything that even remotely works like one. While some things do add pieces to the header bar as if they were systray icons, those things actually include their own gnome-shell extensions.

ASerbinski avatar Mar 02 '24 22:03 ASerbinski