gnome-shell-extension-appindicator
gnome-shell-extension-appindicator copied to clipboard
Duplicate application icons
I doubt this an applications issue, since both Steam and Discord are doing this at the moment.

What's more, the second Steam icon is faded which is strange.
Using Zorin Core 16.2, based on Ubuntu 20.04 with Gnome 3.38.4
I feel one is a tray icon the other is an appindicator, can you try disabling the legacy tray icons support in extension settings?
In such case, it is definitely a library bug (libappindicator or libayatanaapindicator)
Same bug for me. It happening after login from suspend mode. Disabling legacy tray icons support doesn't change behavior
Ubuntu 20.04, Gnome 3.36.8

Can you try disabling the legacy tray icons support in extension settings?
I'll try it for a while
Like nooncat, no change

here is motrix with double icon but when turning off legacy icon i get one icon, but upon restarting or logging out motrix's icon disappear so i have to renable legacy icon
Update. I didn't originally recognise when or how this was occurring. I can reproduce the issue by starting Steam and Discord, manually locking the operating system, then logging back in. On this occasion, the Steam logo duplicated. Hence again, similar to nooncat

Wondering, do you have libayatana-appindicator and/or libapindicator installed in your system? If so which one of them is loaded by those programs (can be checked via ldd on the binaries or lsof -p $(pidof YOUR_PROGRAM)|grep appindicator
lsof -p $(pidof $YOUR_PROGRAM)|grep appindicator
I'm afraid I wasn't able to understand how to use this command. I know the pid for say, Discord (59019), but do I put that in the command? Maybe:
lsof -p $(pidof $discord)|grep appindicator lsof -p $(59019)|grep appindicator
I get "lsof: no process ID specified" most of the time

Maybe it's helps for problem investigating. I can remove icons dublication by restarting Gnome shell with: Alt + F2 + 'r' + Enter
Sorry I meant to say lsof -p $(pidof -x YOUR_PROGRAM) | grep appindicator, so for example lsof -p 12345 | grep...

Could only get one at this stage:

Thanks to @pacho2 it seems we found the offending commit, anyone can try if reverting that works for you?
I started getting a duplicated blueman tray icon at login time. If I close and restart blueman, the duplicated icon disappears, but if I restart gnome-shell (via logout/login or Alt+F2+r, as I use X) the duplicated icon reappears. At first I thought about (already fixed) https://github.com/blueman-project/blueman/issues/1870 but, later, I realized that extension got updated recently.
I have been digging into last commits since v52 to v53 and it seems the culprit is this commit: https://github.com/ubuntu/gnome-shell-extension-appindicator/commit/41a8e9c7ff20c0d45ff91a6329455e6f31f2e4aa
Cheers
Thanks @3v1n0 for you and @pacho2's investigative work. I regret I'm unsure how to revert at this stage, so I have uninstalled. Happy to continue testing, but I may need instructions.
Either you can apply the patch with -R option or you can manually edit the file and readd the line removed in https://github.com/ubuntu/gnome-shell-extension-appindicator/commit/41a8e9c7ff20c0d45ff91a6329455e6f31f2e4aa :thinking:
I've created a branch https://github.com/bryango/gnome-shell-extension-appindicator based on the current master, with https://github.com/ubuntu/gnome-shell-extension-appindicator/commit/41a8e9c7ff20c0d45ff91a6329455e6f31f2e4aa reverted. Feel free to use it, along with the arch PKGBUILD. So far the revert works for me!
Blueman is affected by this bug: https://github.com/blueman-project/blueman/issues/2081. Reverting https://github.com/ubuntu/gnome-shell-extension-appindicator/commit/41a8e9c7ff20c0d45ff91a6329455e6f31f2e4aa fixed the problem.
Could the reversion be finally applied upstream?
Thanks a lot
Could the reversion be finally applied upstream?
Thanks a lot
This, it's my only problem with linux right now :)
The deezer flathub app is affected by this bug as well (dev.aunetx.deezer).
This is still true. Is the reversion going to be merged?
Blueman is affected by this bug: blueman-project/blueman#2081. Reverting 41a8e9c fixed the problem.
Issue still persists after latest gnome-shell upgrade (although the change worked ok before) and having patched the file the commit references. Arch x64, GNOME 46.3