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 332520 - can't remove broken links from trash
can't remove broken links from trash
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Trash
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 352600 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-25 11:51 UTC by Sebastien Bacher
Modified: 2008-02-22 13:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2006-02-25 11:51:13 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/24540

"Using up to date breezy, I can't remove broken links from the trash. I have to do it from the command line.

1) make a broken link on your desktop.
2) click on it.
3) click "Move to trash"
4) open the trash icon
5) select the broken link, and press the delete key on the keyboard 6) asks if you want to remove file from trash. Click ok. Nothing happens.

If I right click on the trash icon and select "Empty trash" it does work. (IE the link is succesfully removed)."
Comment 1 Sebastien Bacher 2006-03-22 09:52:45 UTC
Other Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/35960

"To test this bug do these steps.
1) mkdir foo
2) ln -s foo bar
3) mv bar .Trash
4) rm foo
5) Go to .Trash with nautilus and try delete bar"
Comment 2 Levin Fritz 2006-04-18 18:24:57 UTC
I can reproduce this with nautilus-2.14.1-1.fc5.1 under Fedora Core 5.

Also, when I move a broken link to the trash and then select File > Empty Trash a weird dialog with the text "Error while deleting.", no title and buttons for "Cancel" and "Retry" appears. If I click Retry, the dialog just appears again; I have to click Cancel two times and then the file is deleted.
Comment 3 Robert Marder 2006-11-20 12:26:30 UTC
I also can reproduce this on SuSE Linux 10.1 (it comes with nautilus 2.12)

Also, this doesn't just affect "Broken" symbolic links, but ANY AND ALL
Symbolic Links. This is because "correct" symlinks link to relative targets,
so unless the symlink is one directory below the home directory, the trash bin
will not handle it correctly.

Also, this applies to opening nautilus and right-clicking the symlink file and
choosing 'Delete'.

KDE doesn't have this problem, b.t.w. (I use both GNOME and KDE, prefer GNOME)
Comment 4 Paolo Benvenuto 2007-09-22 21:52:16 UTC
his bug is still present in ubuntu feisty, natuilus 2.18.1.

When there is the broken link in the trash, selecting all the files in the trash and hitting del produces nothing but keeping selected only the broken link.
Comment 5 Cosimo Cecchi 2007-12-30 14:19:56 UTC
*** Bug 352600 has been marked as a duplicate of this bug. ***
Comment 6 Cosimo Cecchi 2008-02-22 13:56:04 UTC
This seems to have been fixed in the gio migration, works fine here with 2.21.91.
Please reopen this bug or open a new one (under the GIO section) if you can reproduce this again with Nautilus >=2.21, thanks!