GNOME Bugzilla – Bug 301689
Select Pattern should do *word* when no pattern char was given
Last modified: 2006-02-25 22:22:16 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:
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.
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.
Still no one is working on this bug/enhancement.. Com'on guyz..
Nelson Benítez is working on it. *** This bug has been marked as a duplicate of 170352 ***