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

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

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.

Revision history for this message
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

Revision history for this message
VF (vfiend) wrote :

openoffice.org's save dialog, however, does not treat 'documents' extra-specially, so if xdg-user-dirs doesn't make a bookmark to documents openoffice.org 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.

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

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

Also, see bug #122103

Revision history for this message
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)

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.