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 47628 - human-readable search criteria string confused by multiple spaces in a row
human-readable search criteria string confused by multiple spaces in a row
Status: RESOLVED INVALID
Product: nautilus
Classification: Core
Component: File Search Interface
0.x.x [obsolete]
Other Linux
: Normal enhancement
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-03-09 19:38 UTC by John Sullivan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Sullivan 2001-09-10 01:13:16 UTC
To reproduce:
(1) Set your search preference to "Search for files by file name"
(2) Type Control-F to bring up Find widgetry
(3) Type "this  html" (two spaces between words) and hit the <Return> key
(4) Note that the search criteria string in the sidebar says

search:[file:///]file_name contains this & file_name contains & file_name
contains html

There are two problems here: (1) The first part of this string is the
supposed-to-be-behind-the-scenes search URI format instead of English; (2) It
thinks there are three words involved of which the middle one is zero-length
("contains & file_name").

It should ignore the doubled space and say the same thing it would if the search
had been for "this html" (single space), which is:

Items containing "this in their names and containing "html" in their names.

See also bug 47619, which suggests alternate wording for these multiple-word
searches.



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:13 -------
Comment 1 John Fleck 2002-01-05 04:05:20 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 John Fleck 2002-11-18 14:06:11 UTC
Moving to "future", "enhancement".
Comment 3 Simon Porter 2004-02-11 12:20:31 UTC
Bug closed as proposed by Curtis C. Hovey, substitute
maintainer of Medusa