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 162787 - bookmarks point to a directory in the Trash when the dir has been removed
bookmarks point to a directory in the Trash when the dir has been removed
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Bookmarks
2.13.x
Other All
: Normal normal
: 2.14.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-03 09:06 UTC by Martijn Brouwer
Modified: 2005-10-19 18:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Proposed patch (1.29 KB, patch)
2005-10-15 15:42 UTC, Christian Neumair
committed Details | Review

Description Martijn Brouwer 2005-01-03 09:06:46 UTC
Please describe the problem:
If you delete a bookmarked dir, the bookmark points to the dir in trash.
When you recreate that dir on its original location, and want to navigate to the
new dir using the old bookmark, you end up in the Trash.
If you do this while copying or saving files, you put them into the trash and
run the risk of severe dataloss.

Steps to reproduce:
1. create a dir and enter it 
2. bookmark the dir
3. remove the dir
4. navigate to the dir using the bookmark


Actual results:
now you are in  the trash

Expected results:
if the dir is recreated, I want to navigate to the new dir. I not, I want to get
a warning that the directory has been removed.

Does this happen every time?
yes

Other information:
this scenario is not artificial. I work at 2 locations on my PhD thesis. When I
synchronise one of these with the other, I remove the dir and copy it from my
other computer. When I do this, my bookmark points to the Trash!
Comment 1 Christian Neumair 2005-10-15 15:33:53 UTC
Thanks for your bug report!
I can confirm this issue with Nautilus 2.12/2.13.
Comment 2 Christian Neumair 2005-10-15 15:42:05 UTC
Created attachment 53520 [details] [review]
Proposed patch

Also sent to nautilus-list for review:
http://mail.gnome.org/archives/nautilus-list/2005-October/msg00105.html
Comment 3 Christian Neumair 2005-10-19 18:11:05 UTC
The patch was committed to the Nautilus 2.12 branch and to Nautilus HEAD, and
will be incorporated into Nautilus 2.12.2.
Thanks for your efforts and your patience, and good luck with your thesis, if it
is not yet finished.