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 520633 - Unifying display of gvfs mounts in nautilus and filechooser
Unifying display of gvfs mounts in nautilus and filechooser
Status: RESOLVED DUPLICATE of bug 650363
Product: gvfs
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
: 518411 518652 (view as bug list)
Depends on:
Blocks: filechooser-nautilus
 
 
Reported: 2008-03-05 23:25 UTC by Michael Monreal
Modified: 2013-06-14 05:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Screenshot (136.35 KB, image/png)
2008-03-05 23:28 UTC, Michael Monreal
Details

Description Michael Monreal 2008-03-05 23:25:58 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
Comment 1 Michael Monreal 2008-03-05 23:26:40 UTC
*** Bug 518411 has been marked as a duplicate of this bug. ***
Comment 2 Michael Monreal 2008-03-05 23:28:08 UTC
Created attachment 106653 [details]
Screenshot

This shows filechooser and nautilus in both the mounted and unmounted states.
Comment 3 Michael Monreal 2008-03-05 23:31:20 UTC
*** Bug 518652 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Larsson 2008-03-06 12:17:14 UTC
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.
Comment 5 Michael Monreal 2008-03-06 12:52:00 UTC
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.
Comment 6 David Zeuthen (not reading bugmail) 2008-03-07 02:19:07 UTC
(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...
Comment 7 Michael Monreal 2008-03-07 08:55:49 UTC
(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.

Comment 8 Timothy Arceri 2013-06-14 05:19:24 UTC
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 ***