Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

QuickSearch started with Alt-Letter bad search

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
serjayes
Junior Member
Junior Member


Joined: 19 Jan 2004
Posts: 47

PostPosted: Mon Jul 30, 2012 8:39 am    Post subject: QuickSearch started with Alt-Letter bad search Reply with quote

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
View user's profile Send private message
umbra
Power Member
Power Member


Joined: 14 Jan 2012
Posts: 662

PostPosted: Mon Jul 30, 2012 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
serjayes
Junior Member
Junior Member


Joined: 19 Jan 2004
Posts: 47

PostPosted: Mon Jul 30, 2012 8:56 am    Post subject: Reply with quote

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
View user's profile Send private message
umbra
Power Member
Power Member


Joined: 14 Jan 2012
Posts: 662

PostPosted: Mon Jul 30, 2012 9:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
serjayes
Junior Member
Junior Member


Joined: 19 Jan 2004
Posts: 47

PostPosted: Tue Jul 31, 2012 2:17 am    Post subject: Reply with quote

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
View user's profile Send private message
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 1305
Location: Netherlands

PostPosted: Tue Jul 31, 2012 4:44 am    Post subject: Reply with quote

Moderation:
Moved to English forum.

White (moderator)

_________________
#16626 Personal licence
Back to top
View user's profile Send private message Send e-mail
Balderstrom
Power Member
Power Member


Joined: 11 Oct 2005
Posts: 2024

PostPosted: Tue Jul 31, 2012 7:06 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
umbra
Power Member
Power Member


Joined: 14 Jan 2012
Posts: 662

PostPosted: Tue Jul 31, 2012 1:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group