Bug 442240 - Search for files... from nautilus results in error
Summary: Search for files... from nautilus results in error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nautilus-search-tool
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Paul W. Frields
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
 
Reported: 2008-04-13 08:03 UTC by George Billios
Modified: 2008-05-01 21:09 UTC (History)
1 user (show)

Fixed In Version: 0.2.2-4.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-01 21:09:34 UTC
Type: ---
Embargoed:


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

Description George Billios 2008-04-13 08:03:12 UTC
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 20:03:11 UTC
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 20:04:04 UTC
Created attachment 304344 [details]
Patch that fixes nautilus-search-tool in F9

Comment 3 Paul W. Frields 2008-05-01 21:09:34 UTC
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.