Bug 442240 - Search for files... from nautilus results in error
Search for files... from nautilus results in error
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: nautilus-search-tool (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Paul W. Frields
Fedora Extras Quality Assurance
: Patch
Depends On:
Blocks: F9Blocker
  Show dependency treegraph
 
Reported: 2008-04-13 04:03 EDT by George Billios
Modified: 2008-05-01 17:09 EDT (History)
1 user (show)

See Also:
Fixed In Version: 0.2.2-4.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-01 17:09:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch that fixes nautilus-search-tool in F9 (1.11 KB, patch)
2008-05-01 16:04 EDT, Will Woods
no flags Details | Diff

  None (edit)
Description George Billios 2008-04-13 04:03:12 EDT
Description of problem:
When you right click in nautilus (eg from Desktop) and select Search for
files..., gnome-search-tool starts with an error: 

"Error starting file '/home/user/Desktop/'/home/user/Desktop":No such file or
directory"

After clicking OK you can do a search

Version-Release number of selected component (if applicable):
nautilus-search-tool-0.2.2-3.fc9.i386

How reproducible:
Alwaya

Steps to Reproduce:
1.Right click in a folder
2.Select Search for Files....
3.
  
Actual results:
The error above (with the path from where is was started)

Expected results:
No error

Additional info:
Probably the path passed to gnome-search-tool from nautilus is passed twice or
something like that.
Comment 1 Will Woods 2008-05-01 16:03:11 EDT
The double-path message is a bug in gnome-search-tool's error dialog.

The actual bug is that nautilus-search-tool is needlessly shell-quoting things
that aren't passed to the shell.

I'll attach a patch that fixes this.
Comment 2 Will Woods 2008-05-01 16:04:04 EDT
Created attachment 304344 [details]
Patch that fixes nautilus-search-tool in F9
Comment 3 Paul W. Frields 2008-05-01 17:09:34 EDT
Thanks Will!  Patched, tagged, and built.  I'm not sure this rates a freeze
exception, but I'll email rel-eng to find out.

Note You need to log in before you can comment on or make changes to this bug.