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 301689 - Select Pattern should do *word* when no pattern char was given
Select Pattern should do *word* when no pattern char was given
Status: RESOLVED DUPLICATE of bug 170352
Product: nautilus
Classification: Core
Component: File Search Interface
2.11.x
Other All
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-23 10:53 UTC by Pradeep MN
Modified: 2006-02-25 22:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Pradeep MN 2005-04-23 10:53:57 UTC
Please describe the problem:
Let me make it a clear view...

1. The Select Pattern does only search for directory names/filenames if and only
if the full names or directory or filename is given. If the full name is to be
given then whatz the use of pattern? We cannot have same folder names right?

2. If we want to check for the filenames.. then we should give fullname of the
file including extensions. If at all we give only extension it doesnot even take
or we need to type *.extension for eg, *.iso . If we give *.iso all iso files
will be displayed and we have no freedom to opt for the pattern of our chosse
sothat minimum words produce maximum results.

At the end we consider Select Pattern as just a search tool...
Any comments?

Steps to reproduce:
1. Open Nautilus
2. Go to Edit Menu
3. Select "Select Pattern"
4. Type full file name, now it will display the filename.
5. Now type only few words of a file or directory.. then no response from Nautilus..


Actual results:
The Select Pattern doesnt highlight the directory or filename when fullname of
the file/directory is not given.

Expected results:
Even when few words are given.. depending on the starting words in directories
or files.. it shud highlight the directories or files.

Does this happen every time?
Unfortunately yes!

Other information:
Comment 1 Olav Vitters 2005-04-23 16:29:49 UTC
Do you mean the following: When entering a pattern that doesn't have any pattern
matching characters in it (like *, ?, [..]) Nautilus should add * before and
after it?

Example:
Entering guadec will act like *guadec* has been entered
Entering *guadec will act like *guadec has been entered (no change)

For .iso I'm not sure.. maybe change it to *.iso* (for consitency), but could
special case it when the entered pattern starts with a dot.
Comment 2 Pradeep MN 2005-04-24 06:38:11 UTC
Well let me take it as an example..

Consider u have 3 directories.. Google Goog Goo . Now if u just type Goo the 
pattern match shud select all three. If we type Goog then only two shud be 
highlighted and if we type Google only one shud highlight. But in our bug case 
here, the latter works fine.. but not the former two cases.

Consider you have 3 files Google Goog Goo. Now if u type Google it will 
highlight the file. In any other i.e Goog or Goo typed names it will only 
highlight only one file.. but it shud highlight 2 and 3.

Also if u need to display files with extension.. u need to use *.iso (for eg.) 
which highlights all the iso files.
Comment 3 Pradeep MN 2006-01-30 10:39:56 UTC
Still no one is working on this bug/enhancement.. Com'on guyz.. 
Comment 4 Christian Neumair 2006-02-25 22:22:16 UTC
Nelson Benítez is working on it.

*** This bug has been marked as a duplicate of 170352 ***