GNOME Bugzilla – Bug 524116
bookmarks do not show correct names for smb shares
Last modified: 2012-11-26 13:46:05 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/196636 "Bookmarks in nautilus have incorrect names for smb shares, after reboot. For example thi will displaye name "smb" instead of "share on server", only after this was accessed name will be correct. http://launchpadlibrarian.net/12276732/Bildschirmfoto-Videos%20-%20Datei-Browser.png Bildschirmfoto-Videos - Datei-Browser.png (54.8 KiB, image/png) This picture will describe it better."
This is present in Maverick 10.10 (Gnome 2.32) even with new bookmarks. I don't recall it being like this in older releases though (9.10). Just after you have created a bookmark it has the right name but after a reboot it's just called 'smb'. After using a bookmark it gets renamed to the correct value. Also, mouse-over on any 'smb' bookmark will show the correct name.
Also in Nautilus 3.0.1.1 in Fedora 15
[Bumping version number as per comment 2]
Why is this bug still "Unconfirmed"?
*** Bug 659536 has been marked as a duplicate of this bug. ***
I think this is because gtk bookmarks just store the URI of the location and don't have access to the display-name until it is mounted. This seems like a pretty fundamental problem with the way gtk stores bookmarks.
Created attachment 222548 [details] unhelpful network bookmarks
Created attachment 222598 [details] [review] Try to store names for bookmarked uris
Review of attachment 222598 [details] [review]: Looks good to me, with a minor comment. ::: src/nautilus-window-manage-views.c @@ +130,3 @@ + if (file != NULL) { + display_name = nautilus_file_get_display_name (file); You can move this to the else block below, as new_location can't be != NULL if file is NULL.
Created attachment 222635 [details] [review] Set a better file display name by default
Review of attachment 222635 [details] [review]: Looks good
The same thing is needed in GTK+ for use in the file chooser, is there a bug for that?
I've seen this on Ubuntu 12.04.1 with the following components: rc libnautilus-extension1 1:2.30.1-0ubuntu1.2 ii libnautilus-extension1a 1:3.4.2-0ubuntu5 ii nautilus 1:3.4.2-0ubuntu5 ii nautilus-data 1:3.4.2-0ubuntu5 ii nautilus-sendto 3.0.1-2ubuntu2 ii nautilus-sendto-empathy 3.4.2.3-0ubuntu1 ii nautilus-share 0.7.3-1ubuntu2
The fix is in Nautilus 3.6 or newer.