[TC 11.00b7 dark mode] Window without control buttons and pressing arrow keys

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.00b7 dark mode] Window without control buttons and pressing arrow keys

Post by *white »

  • Open TC in dark mode
  • Open a window without control buttons, examples:
    • Help/About
    • Files/Calculate Occupied Space
    • Help/Check for updates now
  • Press arrow keys
  • Keyboard focus can get lost (only in dark mode). On 64-bit the focus is on something invisible until you press Tab. On 32-bit the focus can return by pressing arrow keys again.
Ideally, keyboard focus should never leave the buttons, like it is in normal mode.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b7 dark mode] Window without control buttons and pressing arrow keys

Post by *petermad »

Confirmed.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b7 dark mode] Window without control buttons and pressing arrow keys

Post by *ghisler(Author) »

Confirmed too. It seems to go to a hidden checkbox this dialog also offers. I don't know why this is even possible...
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.00b7 dark mode] Window without control buttons and pressing arrow keys

Post by *white »

HISTORY.TXT wrote: 21.06.23 Fixed: Do not focus controls of type TPanel with cursor keys, e.g. in dark mode about box (32/64)
Tested OK using TC 11.00 b8.

Moderator message from: white » 2023-06-21, 16:44 UTC

Moved to Fixed bugs.
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.00b7 dark mode] Window without control buttons and pressing arrow keys

Post by *white »

There seems to be something similar in the dialog Print margins and header, in normal mode and in dark mode, in 32-bit and in 64-bit.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b7 dark mode] Window without control buttons and pressing arrow keys

Post by *ghisler(Author) »

It seems to send the focus to one of the group boxes:
Press arrow left while focus is on OK, then press Tab -> first item of top groupbox is being selected.
Press arrow right while focus is on Cancel, then press Tab -> the only item of the bottom groupbox is being selected.

I don't know why Windows is doing this, it happens in both 32-bit (Delphi) and 64-bit (Lazarus). For now, I will keep it unchanged.
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.00b7 dark mode] Window without control buttons and pressing arrow keys

Post by *white »

ghisler(Author) wrote: 2023-07-14, 09:28 UTC .. it happens in both 32-bit (Delphi) and 64-bit (Lazarus).
With the difference that in 32-bit TC you don't get stuck when pressing arrow keys repeatedly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b7 dark mode] Window without control buttons and pressing arrow keys

Post by *ghisler(Author) »

Just press Tab if you get stuck.
Author of Total Commander
https://www.ghisler.com
Post Reply