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 521020 - Bookmarks in PlacesSidebar get duplicated and wrongly selected
Bookmarks in PlacesSidebar get duplicated and wrongly selected
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
: 527569 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-07 16:25 UTC by Bastien Nocera
Modified: 2018-05-02 14:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2008-03-07 16:25:24 UTC
Using the gio backend.

1. echo sftp://localhost/ >> ~/.gtk-bookmarks
2. Open an filechooser
3. Select "/ on localhost" (the sftp bookmark)

The "mount" resulting from the selection of the share will be mounted in the "volumes" section, and selected instead of the bookmarks I clicked on.

ie. before mount:

Search
Recently used
---
hadess
Desktop
---
[ / on localhost] (selected)

after mount:

Search
Recently used
---
hadess
Desktop
[ / on localhost ] (selected)
---
/ on localhost

This also causes problems when it's already mounted, as the "/ on localhost" bookmark (the one in the path shortcuts) doesn't actually show up, and only the main mount does.
Comment 1 Federico Mena Quintero 2008-03-07 17:46:24 UTC
OK, this is really two bugs:

1. If there are duplicated paths in the shortcuts pane (e.g. the stock Desktop shortcut, plus one that you may have added yourself), then the first one gets selected when we happen to enter that folder.

2. Huh, do we still have code to avoid showing duplicated shortcuts (and thus things behave differently based on whether things are mounted or not)?  I thought we had removed that...
Comment 2 Jan Arne Petersen 2008-05-14 15:21:22 UTC
*** Bug 527569 has been marked as a duplicate of this bug. ***
Comment 3 Timothy Arceri 2013-06-14 06:05:20 UTC
This needs to be retested now that the new widget GtkPlacesSidebar has been added to 3.9.0

See bug 650363
Comment 4 Matthias Clasen 2018-02-10 05:16:33 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 5 Bastien Nocera 2018-02-13 14:07:30 UTC
1. echo sftp://localhost/ >> ~/.config/gtk-3.0/bookmarks
2. Open an filechooser
3. Select "/ on localhost" (the sftp bookmark)

(In reply to Federico Mena Quintero from comment #1)
> OK, this is really two bugs:
> 
> 1. If there are duplicated paths in the shortcuts pane (e.g. the stock
> Desktop shortcut, plus one that you may have added yourself), then the first
> one gets selected when we happen to enter that folder.

This problem seems fixed, clicking on the bookmarks entry kept the bookmarks entry selected, but another entry appeared for the "mount" with an eject button.

> 2. Huh, do we still have code to avoid showing duplicated shortcuts (and
> thus things behave differently based on whether things are mounted or not)? 
> I thought we had removed that...

This is still a problem with nautilus git master and GTK+ 3.x
Comment 6 Bastien Nocera 2018-02-13 14:08:04 UTC
Remove whiteboard entry, it's been tested.
Comment 7 GNOME Infrastructure Team 2018-05-02 14:32:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/291.