GNOME Bugzilla – Bug 789602
Duplicated favorite icon when application started
Last modified: 2021-07-05 14:13:54 UTC
Created attachment 362457 [details] relevant part of ps -uf gnome-shell 3.26.1-0ubuntu5 I added as a favorite an application to the dock (an Eclipse-based IDE by IBM called Rational Application Develper) When clicking on the icon, a new icon is created as long as the application is running. The icon disappears when I close the application I think that the problems is that the launcher spawns another process
Original bug report: https://bugs.launchpad.net/gnome-shell/+bug/1727758
(In reply to Nicolò Chieffo from comment #0) > I think that the problems is that the launcher spawns another process No, the issue is that matching the window to the corresponding .desktop file failed. Assuming that the application is using the X11 backend, the likely reason is that the window's WM_CLASS doesn't match the .desktop file name - can you provide: - relevant output of xprop - a stripped down copy of the .desktop file (please remove at least translations)
Created attachment 362465 [details] .desktop
And here is the relevant part of xprop WM_CLASS(STRING) = "RationalAD", "RationalAD" Thanks for the quick answer
Is the .desktop file name IBMIM0SoftwareDeliveryPlatform01230RationalApplicationDeveloper9.604567.desktop? If yes, does it work if you symlink the file to ~/.local/share/applications/RationalAD.desktop?
Created attachment 362474 [details] same problem after RationalAD.desktop Yes, the .desktop file name is the same as the attached file. I tried to symlink the file to the suggested path ~/.local/share/applications/RationalAD.desktop and rebooted the system, but I still have 2 icons (see screenshot with data)
Now I renamed the file to RationalAD.desktop after having removed the symbolic link. This works
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.