gnome-shell-extension-appindicator icon indicating copy to clipboard operation
gnome-shell-extension-appindicator copied to clipboard

Duplicate application icons

Open anfokaboom opened this issue 2 years ago • 26 comments
trafficstars

I doubt this an applications issue, since both Steam and Discord are doing this at the moment.

image

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

anfokaboom avatar Mar 19 '23 03:03 anfokaboom

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)

3v1n0 avatar Mar 28 '23 15:03 3v1n0

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

image

nooncat avatar Mar 29 '23 06:03 nooncat

Can you try disabling the legacy tray icons support in extension settings?

I'll try it for a while

anfokaboom avatar Mar 30 '23 09:03 anfokaboom

Like nooncat, no change

Screenshot from 2023-03-31 07-07-30

anfokaboom avatar Mar 31 '23 10:03 anfokaboom

image 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

Raul1198 avatar Apr 01 '23 07:04 Raul1198

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

image

anfokaboom avatar Apr 04 '23 11:04 anfokaboom

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

3v1n0 avatar Apr 05 '23 12:04 3v1n0

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

anfokaboom avatar Apr 06 '23 14:04 anfokaboom

image

nooncat avatar Apr 06 '23 15:04 nooncat

Maybe it's helps for problem investigating. I can remove icons dublication by restarting Gnome shell with: Alt + F2 + 'r' + Enter

nooncat avatar Apr 06 '23 15:04 nooncat

Sorry I meant to say lsof -p $(pidof -x YOUR_PROGRAM) | grep appindicator, so for example lsof -p 12345 | grep...

3v1n0 avatar Apr 17 '23 17:04 3v1n0

image

nooncat avatar Apr 18 '23 09:04 nooncat

Could only get one at this stage:

image

anfokaboom avatar Apr 18 '23 12:04 anfokaboom

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

3v1n0 avatar Apr 20 '23 14:04 3v1n0

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.

anfokaboom avatar Apr 23 '23 14:04 anfokaboom

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:

pacho2 avatar Apr 26 '23 12:04 pacho2

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!

bryango avatar May 16 '23 17:05 bryango

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.

monte-monte avatar Aug 06 '23 20:08 monte-monte

Could the reversion be finally applied upstream?

Thanks a lot

pacho2 avatar Sep 29 '23 11:09 pacho2

Could the reversion be finally applied upstream?

Thanks a lot

This, it's my only problem with linux right now :)

Auri3l avatar Nov 03 '23 06:11 Auri3l

The deezer flathub app is affected by this bug as well (dev.aunetx.deezer).

Loklann avatar Nov 25 '23 15:11 Loklann

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.

TheRoarkster avatar Jan 15 '24 04:01 TheRoarkster

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

vageliskatsiotis avatar Aug 03 '24 09:08 vageliskatsiotis