desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: In Gnome with AppIndicators extension, status icon is missing (showing "...")

Open RalfJung opened this issue 4 months ago • 5 comments

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

Bug description

This is what the Nextcloud status icon looks like in the AppIndicators part of my Gnome panel:

image

It just shows the three dots "..." fallback icon, rather than the proper Nextcloud icon.

Steps to reproduce

  1. Enable the AppIndicators extension in Gnome. (Without it, you don't get any status icon.)
  2. Start the Nextcloud client

Expected behavior

Nextcloud should show up in the panel with a reasonable icon.

Instead, it shows up with just "..." as the icon.

Which files are affected by this bug

This is not about files

Operating system

Linux

Which version of the operating system you are running.

Debian testing

Package

Distro package manager

Nextcloud Server version

Not relevant

Nextcloud Desktop Client version

3.11.0

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 Enabled

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

RalfJung avatar Feb 14 '24 07:02 RalfJung

Using the Gnome debug facilities, I can determine that the IconName property of this AppIndicator icon is set to state-ok. This icon seems to exist for KDE's "breeze" theme, but not in the global "hicolor" folder or the Gnome theme:

$ find /usr/share/icons -name "*state-ok*"
/usr/share/icons/breeze-dark/status/22/state-ok.svg
/usr/share/icons/breeze-dark/status/16/state-ok.svg
/usr/share/icons/breeze/status/22/state-ok.svg
/usr/share/icons/breeze/status/16/state-ok.svg

So it seems like the Nextcloud AppIndicator assumes icons to exist that do not generally exist? I am not really sure how this is supposed to work though.

RalfJung avatar Feb 14 '24 08:02 RalfJung

@RalfJung Could you share how you found that information/debugged Nextcloud for that case? I could not find any error message or anything and I do not have an Icon at all.

Maybe for you other information is helpful that other people shared on the net. If you have ... as the icon, the gtk icon library might be missing. It is probably bundled in libappindicator-gtk3 on Fedora, and something similar on others distros :)

func0der avatar Feb 22 '24 21:02 func0der

Could you share how you found that information/debugged Nextcloud for that case? I could not find any error message or anything and I do not have an Icon at all.

I used the instructions I found here, except that instead of r(0)._indicator._proxy.Id I checked r(0)._indicator._proxy.IconName.

Maybe for you other information is helpful that other people shared on the net. If you have ... as the icon, the gtk icon library might be missing. It is probably bundled in libappindicator-gtk3 on Fedora, and something similar on others distros :)

I don't see any package like that on Debian...

In my case what helped is to go into the settings of gnome-shell-extension-appindicator, and set a custom icon for "Indicator ID": Nextcloud, "Icon Name": Nextcloud. Now I have the nextcloud icon. It doesn't reflect the current sync status; that seems to be the part that's breaking the icon in the first place, judging from this "state-ok" icon name.

RalfJung avatar Feb 24 '24 15:02 RalfJung

@RalfJung Maybe try Try libappindicator3. :thinking:

I found my problem though...extensions were completely disabled somehow. Dunno how that happened.

func0der avatar Feb 25 '24 19:02 func0der

libappindicator3

That package is installed. :shrug:

Also, other indicators have icons that work fine. So I don't think it's a system/setup issue. It's only Nextcloud that does not work (from the few applications I tried).

RalfJung avatar Feb 25 '24 19:02 RalfJung