solved [TC 11.50 and earlier] General handling of hotkeys in strings with && is still not working

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

solved [TC 11.50 and earlier] General handling of hotkeys in strings with && is still not working

Post by *petermad »

Follow up on this: viewtopic.php?p=463760#p463760
And this:
history.txt wrote:08.11.24 Fixed: Alt+underlined letter hotkeys not working if the string contained && before &hotkey (32)
If I change these strings in 32bit TC:

Code: Select all

5381="C&ustom column configurations (sort with drag&&drop):"
6502="&File types (sort by using drag&&drop, edit with <spacebar>):"
6612="Searc&h && Replace"
to:

Code: Select all

5381="Custom column configurations (sort with drag&&dr&op):"
6502="File types (sort by using drag&&dr&op, edit with <spacebar>):"
6612="Search && Repl&ace"
where the hotkey is AFTER && - then these hotkeys doesn't work but give an error sound.


These strings does not work in 64bit TC either:

Code: Select all

5381="Custom column configurations (sort with drag&&dr&op):"
6502="File types (sort by using drag&&dr&op, edit with <spacebar>):"
I just don't get an error beep when using the hotkey in 64bit TC as I do in 32bit TC

This one (in MRT) does work in 64bit TC though:

Code: Select all

6612="Search && Repl&ace"
Setting hotkeys after && should work for all strings - otherwise the translators should be warned against doing so.
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: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50 and earlier] General handling of hotkeys in strings with && is still not working

Post by *ghisler(Author) »

It looks like the "static control" uses its own hotkey handler because it's a control without a window handle.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50 and earlier] General handling of hotkeys in strings with && is still not working

Post by *petermad »

15.11.24 Fixed: Hotkeys (Alt+underlined letter) on static controls (text) not working if the string contained "&&" before "&hotkey" (32/64)

It now works in both 32 and 64 bit TC 11.50b7 for:

Code: Select all

5381="Custom column configurations (sort with drag&&dr&op):"
6502="File types (sort by using drag&&dr&op, edit with <spacebar>):"
But this one (in the MRT) does still not work in 32bit TC

Code: Select all

6612="Search && Repl&ace"
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: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50 and earlier] General handling of hotkeys in strings with && is still not working

Post by *ghisler(Author) »

Sorry, I missed 6612 in your reports. It's a different type of control (groupbox vs static text) and makes its own hotkey checking in 32-bit only.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50 and earlier] General handling of hotkeys in strings with && is still not working

Post by *petermad »

history.txt wrote:21.11.24 Fixed: Hotkeys (Alt+underlined letter) on groupboxes not working if the string contained "&&" before "&hotkey" (32)
Confirmed that

Code: Select all

6612="Search && Repl&ace"
now also works in TC 11.50b8 :-)

Moderator message from: petermad » 2024-11-28, 18:47 UTC

Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
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
Post Reply