In 'Ctrl + d', 8 is used as *.

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
cpp64
Member
Member
Posts: 110
Joined: 2023-05-12, 16:03 UTC

In 'Ctrl + d', 8 is used as *.

Post by *cpp64 »

In 'Ctrl + d', 8 is used as *.

I use 1 ~ 0.

1 - dir1
2 - dir2
3 - dir3
...
8 - dir8
...
0 - dir0

I can't use the number 8 as a shortcut key.
When pressing 8, 'Change directory menu' appears.
Is it possible to change '*' to 'Shift + 8'?

------------------------------
edited
------------------------------

// gofile (7 days), 2 mp4 files.
https://gofile.io/d/mLAxCE
--> ctrl-d-8.mp4 // 8 works as *.
--> ctrl-d-and8-rotate.mp4 // When using &8, pressing 8 rotates bewteen '&8 - dir8' and '* Configure ...'.

[ Environments ]
Windows 11 24H2
TC 11.50 b7 64bit + 32bit with a clean wincmd.ini

[ Keyboard ]
// K517 Retro Mechanical Keyboard
https://abko.co.kr/brand/detail.php?it_id=1723536724&device=pc

[ Keyboard layout ]
Korean --> Korean keyboard (101 key) type 1, Microsoft IME // (default)
English --> QWERTY US

------------------------------
edited 2
------------------------------
https://www.totalcommander.ch/win/old/
This problem occurs from TC 10.50. (installed and tested tc-old-versions)
TC 10.50 changed the ctrl-d menu from '[C]onfigure...' to '[*] Configure...'.

------------------------------
edited 3
------------------------------

// System > Time & language
Country or region --> Korea
Regional format --> Korean (Korea)
System locale --> Korean (Korea)
Last edited by cpp64 on 2024-11-28, 00:13 UTC, edited 11 times in total.
User avatar
white
Power Member
Power Member
Posts: 5776
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: In 'Ctrl + d', 8 is used as *.

Post by *white »

Not confirmed. Can you try with a clean wincmd.ini file and only add 8 - dir8. Is it then still not working?

Which TC version are you using?
Are you using numeric keyboard? Is NumLock on?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: In 'Ctrl + d', 8 is used as *.

Post by *ghisler(Author) »

Not confirmed either.
Btw, have you tried the entry for dir8 to:
&8 - dir8
with the & at before the digit you want to use as hotkey?
Author of Total Commander
https://www.ghisler.com
cpp64
Member
Member
Posts: 110
Joined: 2023-05-12, 16:03 UTC

Re: In 'Ctrl + d', 8 is used as *.

Post by *cpp64 »

ghisler(Author) wrote: 2024-11-27, 10:04 UTC Not confirmed either.
Btw, have you tried the entry for dir8 to:
&8 - dir8
with the & at before the digit you want to use as hotkey?
// gofile (7 days), 2 mp4 files.
https://gofile.io/d/mLAxCE

'&8' makes the cursor rotate between '&8 - dir8' and '* Configure...'.
--> see ctrl-d-and8-rotate.mp4
sky66
Member
Member
Posts: 176
Joined: 2014-02-22, 08:44 UTC

Re: In 'Ctrl + d', 8 is used as *.

Post by *sky66 »

After testing, I was able to reproduce the same symptom.
User avatar
white
Power Member
Power Member
Posts: 5776
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: In 'Ctrl + d', 8 is used as *.

Post by *white »

Not confirmed with Windows 11, US keyboard.
cpp64
Member
Member
Posts: 110
Joined: 2023-05-12, 16:03 UTC

Re: In 'Ctrl + d', 8 is used as *.

Post by *cpp64 »

2 ghisler

Instead of [8(*)], How about [`(~)]?

--> The key outputs are different with languages.
Last edited by cpp64 on 2024-11-28, 07:45 UTC, edited 3 times in total.
sky66
Member
Member
Posts: 176
Joined: 2014-02-22, 08:44 UTC

Re: In 'Ctrl + d', 8 is used as *.

Post by *sky66 »

According to the Help documentation, I modified the KeyboardID in the wincmd.ini file.
When set to $0407 or $0807, it works correctly, jumping to ”8 - dir8” instead of the 'Change directory menu'.
It's likely a keyboard configuration issue.

0: disabled => Pressing 8 will jump to the 'Change directory menu'.
1: set to default locale ID => Pressing 8 will jump to the 'Change directory menu'.
$0409: English keyboard (QWERTY) => Pressing 8 will jump to the 'Change directory menu'.
$0407: German keyboard (QWERTZ) => OK
$0807: Swiss German keyboard => OK


However, it's better not to modify the KeyboardID, as it may cause an additional non-local language keyboard to appear in the Windows taskbar at the bottom right.
User avatar
Dalai
Power Member
Power Member
Posts: 9963
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: In 'Ctrl + d', 8 is used as *.

Post by *Dalai »

Not confirmed after setting KeyboardID=$0409 in wincmd.ini and changing language in TC to English. The system keyboard layout is still German in my case as well as the other regional settings.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
cpp64
Member
Member
Posts: 110
Joined: 2023-05-12, 16:03 UTC

Re: In 'Ctrl + d', 8 is used as *.

Post by *cpp64 »

When pressing 1~0 and SHIFT + 1~0, the outputs are different with languages.

In my Korean keyboard,
In Korean --> 8 and * use the same physical key.
In German --> }(physical key for Korean) is allocated for * and '8 and (' use the same physical key.

// Korean, Microsoft IME = English (United States), US
`1234567890-=<Enter>
~!@#$%^&*()_+

// German (Germany), German
--> KeyboardID=$0407
^1234567890ß
´<Enter>°!"§$%&/()=?
`<Enter>
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: In 'Ctrl + d', 8 is used as *.

Post by *ghisler(Author) »

I have again tried to reproduce the problem, but didn't have any success so far. I tried to match their setup:
- Windows 11 x64 24h2
- Installed extra keyboards: English (United States), Korean (Microsoft IME)
- added an item to Ctrl+D with &8 in the title

Then I tried this with both TC 64-bit and 32-bit:
1. Switched keyboard layout to English (United States), Ctrl+D, 8 -> the menu item with &8 was executed immediately
2. Switched keyboard layout to Korean, Latin input, Ctrl+D, 8 -> the menu item with &8 was executed immediately
3. Switched keyboard layout to Korean, Hangul input, Ctrl+D, 8 -> the menu item with &8 was executed immediately
4. Added KeyboardID=$0409 to wincmd.ini [Configuration], restarted TC, Ctrl+D, 8 -> the menu item with &8 was executed immediately

So apparently something else must play a role here, maybe the keyboard? I have a cheap "Cherry" rubber dome keyboard.
2cpp64
If you have any other keyboard from an older PC, could you try with that just for checking?
Author of Total Commander
https://www.ghisler.com
cpp64
Member
Member
Posts: 110
Joined: 2023-05-12, 16:03 UTC

Re: In 'Ctrl + d', 8 is used as *.

Post by *cpp64 »

ghisler(Author) wrote: 2024-11-28, 08:00 UTC I have again tried to reproduce the problem, but didn't have any success so far. I tried to match their setup:
- Windows 11 x64 24h2
- Installed extra keyboards: English (United States), Korean (Microsoft IME)
- added an item to Ctrl+D with &8 in the title
I found the cause.
The 'System locale' Korean Triggers the 'Change directory menu' with 8.
After changing the 'System locale' from Korean to English (United States) and German (Germany), The 8 works as 8 (not *) with Korean, English and German languages.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: In 'Ctrl + d', 8 is used as *.

Post by *ghisler(Author) »

Thanks, I will try to reproduce it.
It's odd because I'm using a standard Windows context menu.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: In 'Ctrl + d', 8 is used as *.

Post by *ghisler(Author) »

I have tested this now, and can confirm it. Unfortunately the bug seems to be in Windows itself, I'm not getting any WM_MENUCHAR message for the 8 digit, Windows itself jumps to the * entry.

Moderator message from: ghisler(Author) » 2024-12-02, 16:58 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
Post Reply