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 751587 - Sidebar doesn't match the new opened location when it's a mount.
Sidebar doesn't match the new opened location when it's a mount.
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Sidebar
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-27 15:28 UTC by Mathieu Bridon
Modified: 2021-06-18 15:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathieu Bridon 2015-06-27 15:28:34 UTC
I'm trying to add a bookmark to an SFTP connection in a specific location.

In the "Connect to server" dialog, I entered:

    sftp://user@host.local/path/to/folder

When it connects to it, Nautilus gets me straight to the path I specified (/path/to/folder) which is exactly what I expect. :)

However, if I hover the item in the sidebar (the one with the "eject" icon to disconnect), the tooltip says:

    sftp://user@host.local/home/user

And as a result, if I right-click on that item in the sidebar and choose "Add Bookmark", the created bookmark points to the latter path, not the former.

That makes it impossible to add a bookmark directly pointing to a given folder.

Aside: I couldn't find anywhere the possibility to edit an existing bookmark. If that exists, that could be a way to work around the bug.
Comment 1 Carlos Soriano 2015-09-08 13:12:06 UTC
I think here are two bugs, let use this one for the most important one that you described in IRC.

So the issue is, connecting to a specific folder of a server shows a new location in the sidebar, which actually points to the server, and not the folder. Seems that's confusing.
In case we want to manage that:
- When to show the eject button? What happens if clicked?
- How to diferenciate different locations inside a server?
- Should the sidebar manage other things than xdg locations and servers/partitions/etc.?
- should we instead make clear that connecting a "folder" in a server is actually opening a new server location as happens if you try to open a folder inside a partition? But then we should think how to manage opening folders in partitions.
Comment 2 Volker Sobek (weld) 2016-04-03 21:49:40 UTC
*** Bug 756418 has been marked as a duplicate of this bug. ***
Comment 3 António Fernandes 2017-08-21 12:36:41 UTC
(In reply to Carlos Soriano from comment #1)
> So the issue is, connecting to a specific folder of a server shows a new
> location in the sidebar, which actually points to the server, and not the
> folder. Seems that's confusing.

But the the sidebar entry is not highlighted with the selection color, is it?

It makes sense that the sidebar shows the "roots" of mounted "drives".

Also, I can bookmark any folder inside the remote server. Later, if the server is not mounted, clicking on the bookmark will smartly connect to the server, open that folder, highlight the bookmark row, and display the server root row with the eject icon.

Am I missing the point of this bug or has this been fixed in the meantime?
Comment 4 André Klapper 2021-06-18 15:53:16 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Files (nautilus), then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/nautilus/-/issues/

Thank you for your understanding and your help.