[TC 11.02 64-bit] Focus rectangle doesn't appear when pressing Alt

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC 11.02 64-bit] Focus rectangle doesn't appear when pressing Alt

Post by *white »

When the Windows setting "Underline access keys when available" is disabled, pressing Alt underlines the access keys but does not show the focus rectangle.

Example:
  • Open the 64-bit version of Total Commander
  • Use the mouse to open Search (in the buttonbar click on the button with the binoculars icon)
  • Press Alt+X and Alt+R a couple of times and notice no focus rectangle is visible
  • Press the Tab key, the focus rectangle becomes visible
  • Press Alt+X and Alt+R a couple of times and notice the focus rectangle is visible
The cause of this issue is described here (and the fix in the post below it):
https://forum.lazarus.freepascal.org/index.php/topic,25371.msg154299.html#msg154299

For 32-bit TC this issue was fixed in Total Commander 7.50 Public Beta 6 (pre1).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.02 64-bit] Focus rectangle doesn't appear when pressing Alt

Post by *ghisler(Author) »

I have checked this in the Lazarus library sources:
- Pressing Alt enables underlined characters
- Pressing one of the keys left, right, up, down or tab enables the focus rectangle

This is also explained in the link you posted.
Should I enable both for all of these hotkeys (like the 32-bit version), or do as they suggest in the above thread (enable both only for Alt)?
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.02 64-bit] Focus rectangle doesn't appear when pressing Alt

Post by *white »

ghisler(Author) wrote: 2023-11-14, 16:13 UTC Should I enable both for all of these hotkeys (like the 32-bit version), or do as they suggest in the above thread (enable both only for Alt)?
"Enable both only for Alt" seems to be the Microsoft way, that's how it works in the classic Windows programs, TC installers, and in the print and print setup dialogs in TC. Whatever you choose, I suggest to make the 32-bit version and 64-bit version behave the same way.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.02 64-bit] Focus rectangle doesn't appear when pressing Alt

Post by *ghisler(Author) »

OK, I will change both 32-bit and 64-bit to this scheme (Tab+cursor keys show only focus rectangles, Alt shows both).
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.02 64-bit] Focus rectangle doesn't appear when pressing Alt

Post by *ghisler(Author) »

This should be fixed in Total Commander 11.03 RC1, please check it!
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.02 64-bit] Focus rectangle doesn't appear when pressing Alt

Post by *white »

HISTORY.TXT wrote: 15.11.23 Fixed: Dialog boxes: Pressing Alt now enables both both underlined hotkeys and focus rectangles. Tab or one of the cursor keys only enables focus rectangles now (32/64)
Tested OK using TC 11.03rc1 32-bit and 64-bit.

Moderator message from: white » 2024-01-18, 18:19 UTC

Moved to Fixed bugs.
Post Reply