Minor bug in Quick Search

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Winfried
Junior Member
Junior Member
Posts: 7
Joined: 2009-02-03, 08:16 UTC

Minor bug in Quick Search

Post by *Winfried »

Hi,

I have a long list of files with "120.415." and then 3 more numbers. Another file is "120.515.002". In my Quick Search I have set "Letters - with search dialog" and "Beginning".

When I enter "120.5" to jump to the file starting with this string, TC opens the quick search dialog with exactly this string, but jumps to the second file starting with "120.4". When I enter another 5, TC jumps correctly to the file starting with "120.5". This second "5" is not displayed in the quick search string. It is still "120.5".

Best regards

Winfried
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

I can't confirm this here (TC7.04a WinXP Pro SP3)

The three missing numbers may be interesting.

Please post the complete file names:

:arrow: mark the two files (120.515... and 120.415...)

:arrow: execute "Mark -> Copy Selected Names to Clipboard"

:arrow: paste the clipboard content into your posting.


Does it work, if you additional check:
[x] Ending (last character before a typed dot. must match)
Regards,
Holger
Winfried
Junior Member
Junior Member
Posts: 7
Joined: 2009-02-03, 08:16 UTC

Post by *Winfried »

Hi Holger,

TC 7.04a, Windows 2000 Professional

Thank you very much for your help. When I activate "Ending (last character before a typed dot . must match)", it works. However, I still do not understand why.

The relevant directory names are:
120.415.008
120.415.593
120.415.706
120.415.707
120.515.002

Even when the option "Ending" is not activated, the quick search string "120.5" should jump to "120.5", as the option refers to the _last_ character before the dot and not after the dot. Or does the option refer also to the second dot? But then it shouldn't matter, because this was not the last character.

Best regards

Winfried
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Winfried wrote: 120.415.008
120.415.593
120.415.706
120.415.707
120.515.002
I guess this is by design (you got what you want):
Help wrote:Ending (last character before a typed dot . must match)

If checked and a dot is typed in, then the name typed so far must be an exact match.
If this option isn't checked, the dot is automatically replaced by *. (any characters allowed before the dot).

Example: Search string "Te.tx"

- If checked: "Te.tx" finds "Te.txt", but not "Test.txt"

- If not checked: "Te.tx" finds also "Test.txt" (no exact match in front of the dot)

Without checking the second option its very comfortable to find files beginning with a key sequence 120 (and with a file type .5)
It's allways a little bit confusing to place multiple dots in file names.

Regards,
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed it's by design. The idea is that you can type the first few characters of the name AND of the extension to jump directly to the file with the right extension (e.g. when there are multiple files with the same name but different extension). You already found the option which turns this feature off.
Author of Total Commander
https://www.ghisler.com
Post Reply