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 621561 - two launchers with same target command but different arguments lose differences after restart
two launchers with same target command but different arguments lose differenc...
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-14 15:55 UTC by Pedro Villavicencio
Modified: 2020-11-06 20:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description Pedro Villavicencio 2010-06-14 15:55:48 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gnome-panel/+bug/593205

"I have a launcher to the top gnome-panel with the following properties:

Name: Firefox
Command: firefox %u
Comment: Firefox web browser main profile

I added a second launcher to the same panel via the Custom Application Launcher, and set the following properties:

Name: Firefox (secondary)
Command: firefox -no-remote -P secondary %u
Comment: Firefox web browser secondary profile

These two launchers work as expected until I log out and back in. After logging back in, both launchers are set to the same set of properties (whichever was most recently edited). Their positions are correct, but their individual properties are not maintained.

Using gnome-panel 1:2.30.0-0ubuntu"

Thanks,
Comment 1 quack 2010-06-14 21:36:59 UTC
I originally filed the bug with Ubuntu (thanks Pedro for opening this one).  Actual version of Gnome in use is 2.30.x.

Checking with gconf-editor, both launchers point to ~/.gnome2/panel2.d/default/launchers/firefox.desktop.  After several attempts to edit the launchers to separate values, this file contains a mix of the two launchers' settings.

To duplicate: 

1. Log into a default Gnome session as a new user.  There should be an existing "web browser" icon on the top gnome-panel.
2. Right click the top panel, choose "Add to panel".  Choose Custom Application Launcher.  Fill in the values listed in the initial post for the "Firefox (secondary)", click Add.
3. Mouseover both launchers and confirm the tooltips are different.
4. Log out.
5. Log back in.  Mouseover both launchers; note they are both the same.

In the Gconf settings, both /apps/panel/objects/browser_launcher_screen0/launcher_location (first launcher) and /apps/panel/objects/object_0/launcher_location (second) are set to "firefox.desktop".  When the second launcher creates a a .desktop file that's unique in the user launcher directory, but conflicts with the name in the system launcher directory.  When Gnome is restarted, the user launcher gets read for both launchers.

To workaround:
Move the user launcher to some other filename (eg "firefox-alt.desktop") and update the location in Gconf.  If this is done prior to step 4, both launchers will appear properly different in step 5.

I'm not sure what proper behavior should be.  Don't auto-create .desktop files whose names match a system version?  Specify the full path in launcher_location?
Comment 2 André Klapper 2020-11-06 20:21:21 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.