GNOME Bugzilla – Bug 395381
Gnome search can't delete file from search window
Last modified: 2007-01-27 06:53:34 UTC
That bug has been opened on https://launchpad.net/ubuntu/+source/gnome-utils/+bug/78035 "Binary package hint: gnome-utils When sorting a deleting old music I found two that I tried to delete from the search program it self but it told me the file doesn't exist. With my minor programming skills it just sounds like the string is not handling correctly and can't delete the file. If it can't delete it, then to the program it thinks it doesn't exist. I will attach the songs below... http://librarian.launchpad.net/5599539/Report%20bug%20with%20delete%20and%20search%20these%20files.tar.gz Unpack and take a look... The two that wouldn't delete... ... The files are named: Nelly Furtado - Hey, Man%21.mp3 Nelly Furtado - Whoa Nelly%21 - 02 - On the Radio.mp3 I wonder if it's the %21 that's confusing the search program. %21 is the character code for '!', which is an invalid character for UNIX filenames. I wonder if gnome search is interpreting %21 as ! and thus not finding the file?"
Thanks for the excellent bug report. I can confirm this bug. Unfortunately, I have had zero luck figuring out why gnome_vfs_move() is not working. The filenames are in the locale format and when I print them to stdout they look good. Hmm...
Okay, this is fixed. It will be included in GNOME 2.18. 2007-01-26 Dennis Cranston <dennis_cranston@yahoo.com> * gsearchtool-callbacks.c: (move_to_trash_cb): Fix bug #395381, cannot delete filenames containing %21 from the search window.