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 395381 - Gnome search can't delete file from search window
Gnome search can't delete file from search window
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: gsearchtool
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-11 13:29 UTC by Sebastien Bacher
Modified: 2007-01-27 06:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2007-01-11 13:29:02 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?"
Comment 1 Dennis Cranston 2007-01-26 03:04:11 UTC
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...
Comment 2 Dennis Cranston 2007-01-27 06:53:34 UTC
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.