GNOME Bugzilla – Bug 621561
two launchers with same target command but different arguments lose differences after restart
Last modified: 2020-11-06 20:21:21 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,
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?
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.