GNOME Bugzilla – Bug 44906
Bookmark icon not updated immediately when new file created at bookmark's location
Last modified: 2017-09-04 17:26:22 UTC
To reproduce: (1) Create a new folder, name it "bookmark test" (2) Double-click it to visit. (3) Choose "Add Bookmark" to add a bookmark for "bookmark test" to the Bookmarks menu (4) Hit Back (5) Select "bookmark test" and select "Move to Trash" (6) Empty trash. (7) Pull down Bookmarks menu. Note that the icon for "bookmark test" is the "missing bookmark" image, not the folder image (this is behaving correctly so far) (8) Create another new folder in the directory that used to contain "bookmark test", name it "bookmark test" (9) Pull down Bookmarks menu. Note that the icon for "bookmark test" is still the "missing bookmark" image. In an ideal world this would now be the folder image, since the file once again exists. Note that if you visit the new "bookmark test" by double-clicking, the icon in the bookmarks menu will update. It will also update if you do anything else that refreshes the menu, like adding a new bookmark or changing themes (or quitting/restarting Nautilus). So the bug is just that there's a period of time during which the icon has not yet updated. This is a consequence of the fix I made for bug 44899. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:48 -------
Verifying this. marking 'future'
Verified in 2.0.7 - bug still exists. There is another issues here - moving the directory to the trash causes the bookmark to be updated with the trash location. Barring that if we 1 - bookmark directory X 2 - remove directory X using the terminal 3 - create the directory X (using the terminal or nautilus) The bookmark icon X stays "broken" instead of changing back a "folder" icon. But if we then do any one of the following * add another bookmark pointing to directory X * add a new bookmark * open a new nautilus window the bookmark icon for X will change back to the correct "folder" icon.
In 2.2, when recreating the directory the bookmark still can't be found since it doesn't exist in trash:.
43218 seems to be the same pb: "To reproduce: (1) Make a bookmark for your home directory (2) Bring up the Edit Bookmarks window (3) Note that the bookmark for your home directory has a folder icon as it should (or a custom icon if you've got one of those) (4) Select that bookmark in the list. For the location, append some gibberish such that it's not a real file name (e.g. "/home/sullivan/xxxxxxxx") (5) Pull down the Bookmarks menu. Note that the icon has updated in the menu to be the missing-bookmark icon (6) Note that in the Edit Bookmarks window the icon has not updated; it is still the old folder icon."
*** Bug 43218 has been marked as a duplicate of this bug. ***
Still seeing the original problem here with 2.8.x.
I think this bookmark problem can be handled as simple as possible. May be we shall not update anything in the book mark and let it show like "bookmark item not found or .... " in a dialog box. so that the user can remove that bookmark if e feels so. i think this makes things quite straight forward to the user.
http://mail.gnome.org/archives/nautilus-list/2006-January/msg00032.html has a patch. Updating bug status.
Created attachment 56883 [details] [review] Proposed patch
Attachment 56883 [details] was committed and fixes the issue described in comment 5.
*** Bug 446658 has been marked as a duplicate of this bug. ***
It seems this is still problematic. Putting on the 3.0.x radar.
Can't reproduce in Nautilus 3.3.91 - bookmark is displayed again after deleted folder is created
This doesn't really work as expected yet; when the directory is trashed/deleted the icon in the Bookmarks window won't change.
There is no Bookmarks menu or Bookmarks window anymore. Bookmarks are displayed in the sidebar which is now a Gtk+ widget. Their icons don't change when the bookmark is broken. As such, this bug as a whole is obsolete. On the specific issue of dealing with broken bookmarks due to folder being sent to Trash, see bug 771466.