After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789602 - Duplicated favorite icon when application started
Duplicated favorite icon when application started
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-10-28 21:44 UTC by Nicolò Chieffo
Modified: 2021-07-05 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
relevant part of ps -uf (308 bytes, text/plain)
2017-10-28 21:44 UTC, Nicolò Chieffo
Details
.desktop (353 bytes, application/x-desktop)
2017-10-28 22:01 UTC, Nicolò Chieffo
Details
same problem after RationalAD.desktop (162.43 KB, image/png)
2017-10-29 07:21 UTC, Nicolò Chieffo
Details

Description Nicolò Chieffo 2017-10-28 21:44:14 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
Comment 1 Nicolò Chieffo 2017-10-28 21:46:09 UTC
Original bug report: https://bugs.launchpad.net/gnome-shell/+bug/1727758
Comment 2 Florian Müllner 2017-10-28 21:56:52 UTC
(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)
Comment 3 Nicolò Chieffo 2017-10-28 22:01:32 UTC
Created attachment 362465 [details]
.desktop
Comment 4 Nicolò Chieffo 2017-10-28 22:05:30 UTC
And here is the relevant part of xprop

WM_CLASS(STRING) = "RationalAD", "RationalAD"


Thanks for the quick answer
Comment 5 Florian Müllner 2017-10-28 22:27:13 UTC
Is the .desktop file name IBMIM0SoftwareDeliveryPlatform01230RationalApplicationDeveloper9.604567.desktop? If yes, does it work if you symlink the file to ~/.local/share/applications/RationalAD.desktop?
Comment 6 Nicolò Chieffo 2017-10-29 07:21:38 UTC
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)
Comment 7 Nicolò Chieffo 2017-10-30 07:55:07 UTC
Now I renamed the file to RationalAD.desktop after having removed the symbolic link.
This works
Comment 8 GNOME Infrastructure Team 2021-07-05 14:13:54 UTC
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.