GNOME Bugzilla – Bug 520633
Unifying display of gvfs mounts in nautilus and filechooser
Last modified: 2013-06-14 05:19:24 UTC
Mounts and bookmarks are handled inconsistently between various gvfs backends and how they work in nautilus compared to the filechooser. Ideally, they would look and behave the same. === Unmounted state === All bookmarks show up with a normal file icon in nautilus. The file chooser instead uses more correct icons (folder-remote) for non-local bookmarks. "Network" shows up with the folder-remote icon too here, but uses a normal folder icon in nautilus. === Mounted state === Pressing the bookmark links creates mounts in the top section of the sidebar. In the filechooser, all bookmarks but the sftp one disappear when mounting. IMHO this is a sane thing to do and should be done in nautilus also, as the sidebar won't grow in this case. DAV is the only backend which does not display a meaningful label. It should display something similar to the SMB backend. The icon situation is a bit chaotic in nautilus: all but the obex backend use the folder-remote icon for the mount, obex uses a phone icon, which is nice but it should use this for the bookmark, too, which (like the dav backend) shows the normal folder icon while FTP and SMB use folder-remote. SFTP has the most-broken look, displaying a text icon when mounted. Also of note: while actually mounting, the bookmarks all seem to change into the text icon. Finally, if unmounted again, the bookmarks show up correctly in the file chooser but keep their inconsistent icons in nautilus. === Proposal === 1) hide all bookmarks when mounted (needs fix for the sftp backend and nautilus) 2) always use the same icon for bookmark and mount 3) perhaps use an icon like gtk-execute as the "mount in progress" icon? 4) all backends should show a label when mounted (fix DAV) and this should be the bookmark name if one was given
*** Bug 518411 has been marked as a duplicate of this bug. ***
Created attachment 106653 [details] Screenshot This shows filechooser and nautilus in both the mounted and unmounted states.
*** Bug 518652 has been marked as a duplicate of this bug. ***
I think we want to make things like this GVolumes, not bookmarks. But since we were so close to release we just made the connect to server dialog create bookmarks. If GVolumes were used instead they would appear in the same place as they will when they are mounted, they can have better icons, etc etc.
Sounds right. Is this something that will be done in a 2.22.x release or will it have to wait for 2.24? Fixing the bookmarks too look right if they will be replaced by GVolume anyway seems like a pointless exercise, but having them look broken in the coming distribution releases would be bad, too.
(In reply to comment #4) > I think we want to make things like this GVolumes, not bookmarks. But since we > were so close to release we just made the connect to server dialog create > bookmarks. > > If GVolumes were used instead they would appear in the same place as they will > when they are mounted, they can have better icons, etc etc. Yeah, this sounds a lot better. We'd store them in GConf along with what mount options to use. Also, one other bug we want to fix when doing this is show GVolume's from ssh:// and other networked mounts on the desktop even when not mounted. I really miss my "public_html @ p.fd.o" icon from 2.20; used it all the time...
(In reply to comment #6) > Also, one other bug we want to fix when doing this is show > GVolume's from ssh:// and other networked mounts on the desktop even when not > mounted. I really miss my "public_html @ p.fd.o" icon from 2.20; used it all > the time... > But please make this optional.
The inconsistently between nautilus and filechooser should be fixed by bug 650363 and remaining issue you have should probably be filled in a new bug against the new GtkPlacesSidebar widget. *** This bug has been marked as a duplicate of bug 650363 ***