Should not create gtk bookmarks for folders which are treated specially already (Desktop, Documents)

Bug #125487 reported by VF on 2007-07-12
This bug report is a duplicate of:  Bug #122602: Duplicated entries in Places Menu. Edit Remove
Affects Status Importance Assigned to Milestone
xdg-user-dirs-gtk (Ubuntu)

Bug Description

Binary package hint: xdg-user-dirs-gtk

By default on Gutsy, xdg-user-dirs-gtk-update creates gtk bookmarks for Desktop and Documents, meaning that there are now duplicate items in the places menu. It should be smart enough to know that Desktop and Documents are treated specially and not create bookmarks for them.

Iain Nicol (orra) wrote :

Creating the bookmarks causes slight problems in a few places:

* As pointed out by VF, the Panel's Places menu has duplicate shortcuts.
* duplicate shortcuts appear in Nautilus' Places sidebar, in browser mode
* duplicate shortcuts appear in the Places sidebar of GtkFileChooserDialog. Worse, clicking the Desktop bookmark at the bottom is confusing, as the widget flickers and highlights the hard-coded Desktop link higher up.
* duplicate shortcuts appear in the GtkFileChooserButton widget. Similarly to above, selecting the Desktop bookmark actually selects the hard-coded Desktop entry.

I can see two solutions:
1) xdg-user-dirs-gtk-update shouldn't create these bookmarks (presumably the easiest)
2) the special treatment of various folders needs removed from the Nautilus, Panel and GTK places listed above

VF (vfiend) wrote :'s save dialog, however, does not treat 'documents' extra-specially, so if xdg-user-dirs doesn't make a bookmark to documents won't have easy access to the documents folder

The special treatment of 'Documents' in gnome-panel and the save dialogs should be removed. This should easily be possible because it isn't given special treatment in Fedora's GNOME panel/GTK save dialogs.
After that, xdg-user-dirs should be taught not to make bookmarks to the desktop folder.

Jeff Fortin Tam (kiddo) wrote :

the Desktop bookmark does not appear twice for me anymore, but the Documents bookmark does.

Also, see bug #122103

Artem Popov (artfwo) wrote :

For me, in the latest Gutsy daily build (2007-09-25) only the Desktop shortcut is duplicated in Places menu (Desktop is present nautilus bookmarks)

Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in xdg-user-dirs-gtk:
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers