Nautilus won't allow changing the name of a launcher

Bug #326444 reported by pablomme
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

I've just done a fresh installation of Jaunty Alpha 4. When I attempt to change the name of an application launcher on the desktop, the change is ignored and the old name remains. This happens both if I hit F2 and edit the name directly or if I right-click, select Properties and change the name there.

Editing the .desktop file directly does work (with near-instantaneous effect on the displayed launcher name), so something breaks before nautilus gets to update the .desktop file contents.

My nautilus is at version 1:2.25.4-0ubuntu1.

Revision history for this message
Cameron W (cwill747) wrote :

I confirm this bug using:
nautilus version 1:2.25.4-0ubuntu1
Jaunty Alpha 4
The old name remains when i hit F2 and when i right click. I can also change the name by editing the .desktop file contents, with a near-instantaneous effect on the displayed launcher as well.

Revision history for this message
A. Walton (awalton) wrote :

2009-02-06 A. Walton <awalton@>

 * libnautilus-private/nautilus-link.c (get_language),
 (nautilus_link_local_set_key):
 Pass a language code to g_key_file_set_locale_string() so that we can
 actually rename .desktop files.

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
pablomme (pablomme) wrote :

A new problem, which I think is related to the fix: if I try to change the icon of the launcher, the icon won't change. E.g., if I try to set JAMin's icon to the correct pixmap (which BTW is not done by default), the following appears in jamin.desktop:

 Icon[en_GB]=/usr/share/jamin/pixmaps/JAMin_icon.xpm

alongside the original

 Icon=jamin.svg

This results in no icon change. If I delete the original line, no change either. If I delete both lines and add

 Icon=/usr/share/jamin/pixmaps/JAMin_icon.xpm

the icon change becomes effective.

I would think that the icon should not be locale-dependent. Changing the name of the executable works fine, so this is specific to the icon property.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in jaunty closing the bug, open a new bug about the icon issue

Changed in nautilus:
status: Fix Committed → Fix Released
Revision history for this message
pablomme (pablomme) wrote :

Thanks, see bug #336679.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.