[TC 8.0b5 x64] Quick search canceled by ALT+S

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

[TC 8.0b5 x64] Quick search canceled by ALT+S

Post by *fleggy »

Hello,

if Quick Search is invoken by ALT+LETTER and ALT is pressed during typing then S following after any first letter cancels the Quick Search.
For examle: ALT+HIS

Thank you
Tomas
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This happens because Alt+S also invokes the "Start" menu. Unfortunately I couldn't find a way to prevent that with Lazarus, so what you need to to is press Alt+H, release the Alt, and then press I and S. There is currently no other way, sorry.
Author of Total Commander
https://www.ghisler.com
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

ALT+S is somehow special? Because other menu hotkeys (ALT+O, ALT+N, ...) don't interrupt Quick Search. I'm just curious...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, that's indeed very odd. Anyway, I will try to hack the lazarus code to avoid this. In Delphi, this could be handled via AppMessage, but that doesn't exist in Lazarus...
Author of Total Commander
https://www.ghisler.com
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

It seems that second ALT+S closes Quick Search according to the Beta6 changelog:

21.10.11 Fixed: Quick search with Alt+Letters would close when using Alt also when the quick search dialog is already open (64)

If it is the cause then I think that Quick Search should distinguish between continuosly pressed ALT and pressed ALT for the second time.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Did you try it with beta 6 now? Both the first Alt+S and any subsequent Alt+S should no longer close the dialog now.
Author of Total Commander
https://www.ghisler.com
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

Yes, I did. It's still the same. If the first letter is S then it's OK - Quick Search appears. Any other S (while keeping ALT) cancels QS even in the beta6.
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

any subsequent Alt+S should no longer close the dialog now
Sorry, I cannot confirm this for TC 8.0b6 x64 :-( This is for both continously held Alt-key and when releasing the Alt-key and repressing it between each letter.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I just found out that I commented out that fix in the public beta release (I did this to test something else...). I will re-add the code in beta 7.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 8.0b7 x 64 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply