| View previous topic :: View next topic |
| Author |
Message |
serjayes Junior Member

Joined: 19 Jan 2004 Posts: 47
|
Posted: Mon Jul 30, 2012 8:39 am Post subject: QuickSearch started with Alt-Letter bad search |
|
|
If I have the files like this:
Image: http://i49.tinypic.com/5orrsl.png
and I have Quick Search configured with Alt-Letters then when I Quick Search the file named cd.txt by typing
Alt-"c" then "d" then "." (dot)
Total Commander doesn't move from the first file on the screen (cd1.txt)
Expected behaviour: to move to the cd.txt
I zipped the directory with which this can be repeated:
http://www.mediafire.com/file/7zdyy131h5xtm21/tcsample.zip
The example is made to be small, I noticed this in much bigger directories where the file I needed was not even shown in the visible region. Thanks in advance. _________________ (user licence #95571)
Last edited by serjayes on Mon Jul 30, 2012 9:00 am; edited 3 times in total |
|
| Back to top |
|
 |
umbra Power Member

Joined: 14 Jan 2012 Posts: 662
|
Posted: Mon Jul 30, 2012 8:53 am Post subject: |
|
|
What is the bug? In your example, you typed Alt+"cd", which means, you want all files that start with "cd". Plus you set the sorting to sort the suitable results by date. And TC did it exactly as requested. Why do you think it should do something different? _________________ Windows 7 Pro x64, Windows 8 Pro x64 |
|
| Back to top |
|
 |
serjayes Junior Member

Joined: 19 Jan 2004 Posts: 47
|
Posted: Mon Jul 30, 2012 8:56 am Post subject: |
|
|
| umbra wrote: | | What is the bug? In your example, you typed Alt+"cd", which means, you want all files that start with "cd". Plus you set the sorting to sort the suitable results by date. And TC did it exactly as requested. Why do you think it should do something different? |
I typed "c" "d" "." (I fixed the parent post to make it clear) meaning I want the file "cd.txt" which is somewhere deep down in the list, not the file cd1.txt which is the one on which I started.
Sorting by date is irrelevant, except that when there are more files with the same start, I expect to get the first one according to the date. But I want to reach cd.txt and I can't. _________________ (user licence #95571) |
|
| Back to top |
|
 |
umbra Power Member

Joined: 14 Jan 2012 Posts: 662
|
Posted: Mon Jul 30, 2012 9:14 am Post subject: |
|
|
The dot is very important. Without it, the following setting won't work: Configuration->Options->Quick search->Exact name match: Ending. Make sure it's enabled and try again. _________________ Windows 7 Pro x64, Windows 8 Pro x64 |
|
| Back to top |
|
 |
serjayes Junior Member

Joined: 19 Jan 2004 Posts: 47
|
Posted: Tue Jul 31, 2012 2:17 am Post subject: |
|
|
Thanks! When I checked the second checkbox it finds the file I wanted.
I must admit I don't understand the logic for checkboxes at all. What are the scenarios when somebody doesn't want to get to the file which is exact match of what he types up to some point? _________________ (user licence #95571) |
|
| Back to top |
|
 |
white Power Member


Joined: 19 Nov 2003 Posts: 1305 Location: Netherlands
|
Posted: Tue Jul 31, 2012 4:44 am Post subject: |
|
|
| Moderation: | Moved to English forum.
White (moderator)
|
_________________ #16626 Personal licence |
|
| Back to top |
|
 |
Balderstrom Power Member


Joined: 11 Oct 2005 Posts: 2024
|
Posted: Tue Jul 31, 2012 7:06 am Post subject: |
|
|
If you don't use exact match then you don't need to preface QuickSearches with an asterix * when you want to match part of a filename.
Given the Files:
ExampleFile001.txt
TopicLabel002.txt
Without Exact name match, you could type
a (or alt-a, if using the alt-key modifier for search)
The result would be to jump to the first file that has the letter "a" somewhere in it's name. If you typed 'a' (alt-a) again, the cursor would jump to the next file that has an 'a'... Now if instead you had a file that contained 2 consecutive a's in it's name, then the cursor would jump to that file.
If you set exact match, instead you would do:
*a (Would match both files, OR)
??a (Would only match letter-letter-A) |
|
| Back to top |
|
 |
umbra Power Member

Joined: 14 Jan 2012 Posts: 662
|
Posted: Tue Jul 31, 2012 1:30 pm Post subject: |
|
|
| serjayes wrote: | | What are the scenarios when somebody doesn't want to get to the file which is exact match of what he types up to some point? | There are several such scenarios, for example:
1. people don't know the exact name of a file
2. people want to see the searched file in a context of other similarly named files
3. file's name is too long to type - it's faster to write a first few characters and then use up/down keys or mouse (I think, this might be the most usual reason) _________________ Windows 7 Pro x64, Windows 8 Pro x64 |
|
| Back to top |
|
 |
|