[9.20rc1] Hotkey selection bug (Enter does it wrong)
Moderators: Hacker, petermad, Stefan2, white
[9.20rc1] Hotkey selection bug (Enter does it wrong)
First, you need some configured shortcut, e.g. Alt+Up for editing path in my report.
First test:
1. Open Misc options page.
2. Check Alt modifier and select UP from combobox, click it with mouse.
3. Notice that cm_EditPath has been inserted into Command field and red cross button is now active.
Second test:
1. Open Misc options page.
2. Check Alt modifier, open key selection combobox, select UP with keyboard arrows, confirm it with Enter key.
3. Notice that Command field doesn't contain valid command now and red cross buttin is not active, it looks like it is not a configured shortcut.
First test:
1. Open Misc options page.
2. Check Alt modifier and select UP from combobox, click it with mouse.
3. Notice that cm_EditPath has been inserted into Command field and red cross button is now active.
Second test:
1. Open Misc options page.
2. Check Alt modifier, open key selection combobox, select UP with keyboard arrows, confirm it with Enter key.
3. Notice that Command field doesn't contain valid command now and red cross buttin is not active, it looks like it is not a configured shortcut.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's your problem: This chooses the "Enter" key for the shortcut.confirm it with Enter key
Instead, use Alt+Up to close the combobox.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
AFAIK Enter is a standard way of confirming combobox selections, and it doesn't select ENTER key for the shortcut, combobox still shows my selected key (not ENTER). So either TC should just confirm selection on Enter (system behaviour), either it should select ENTER key in the list, current behaviour is strange.
When I use Enter to select e.g. entry from combobox in 'Expand selection' dialog, TC does it properly, it doesn't do anything except confirming selection and closing combobox dropdown menu.
When I use Enter to select e.g. entry from combobox in 'Expand selection' dialog, TC does it properly, it doesn't do anything except confirming selection and closing combobox dropdown menu.
2MVV
How do you open it? Tabbing to the box, or clicking the down-arrow on the right side of the box?open key selection combobox
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
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
Also Esc key have same problem: it neither selects ESC key from list, neither closes list.
I think that Enter/Esc shouldn't be processed by TC, just like Up/Down, these keys should be left for working with dropdown list.
Perhaps other control keys should also do their job in the list (Home/End/PgUp/PgDn - these keys are usually used for navigation within list).
At the same time F1-F12 keys may be safely processed by TC, these keys can't made any mess in combobox.
It doesn't matter, in both cases behaviour of Enter/Esc is the same.How do you open it?
I think that Enter/Esc shouldn't be processed by TC, just like Up/Down, these keys should be left for working with dropdown list.
Perhaps other control keys should also do their job in the list (Home/End/PgUp/PgDn - these keys are usually used for navigation within list).
At the same time F1-F12 keys may be safely processed by TC, these keys can't made any mess in combobox.
Not here:It doesn't matter, in both cases behaviour of Enter/Esc is the same.
If I open the key selection combobox with the mouse by clicking on the box, the list uinfolds and I can use up- and down arrow keys to navigate the opened list and go to "UP" and when I press Enter the box folds and show the selected "UP".
If I on the other hand tab my way to the key selection combobox (or I fold it by clicking on it one more time), then you are right that pressing any key but arrow-up or arrow-down shows the value of the pressed key like "ENTER", "ESC" or "PAUSE" and so on.
So it does matter whether you are using an unfolded list or not.
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
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
Well, collapsed combobox allows selecting alpha-numeric and some other keys, but Up/Down keys just select prev/next item (system behaviour), and Enter/Esc just execute OK/Cancel actions so you can't select these keys and see the bug.
When you have drop-down list opened, you can select same keys, Up/Down still select prev/next item, but Enter visually selects focused item but switch to a shortcut with Enter key (inconsistency), and Esc visually cancels selecting but in fact switch to a shortcut with Esc key (inconsistency). You can check it by assigning commands to shortcuts with Enter or Esc (e.g. Win+Enter and Win+Esc).
When you have drop-down list opened, you can select same keys, Up/Down still select prev/next item, but Enter visually selects focused item but switch to a shortcut with Enter key (inconsistency), and Esc visually cancels selecting but in fact switch to a shortcut with Esc key (inconsistency). You can check it by assigning commands to shortcuts with Enter or Esc (e.g. Win+Enter and Win+Esc).
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have noticed that it is different in TC 32-bit and 64-bit, so I have unified it now:
1. Dropdown combobox is open: ENTER and ESC close it, TAB jumps to next control, Shift+TAB to previous.
2. Dropdown combobox is closed: ENTER and ESC find their specific hotkey, TAB jumps to next control, Shift+TAB to previous.
1. Dropdown combobox is open: ENTER and ESC close it, TAB jumps to next control, Shift+TAB to previous.
2. Dropdown combobox is closed: ENTER and ESC find their specific hotkey, TAB jumps to next control, Shift+TAB to previous.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
That's why I couldn't confirm MVV's observation:it is different in TC 32-bit and 64-bi
- I had only tested with 64bit TC.When you have drop-down list opened, you can select same keys, Up/Down still select prev/next item, but Enter visually selects focused item but switch to a shortcut with Enter key (inconsistency), and Esc visually cancels selecting but in fact switch to a shortcut with Esc key (inconsistency). You can check it by assigning commands to shortcuts with Enter or Esc (e.g. Win+Enter and Win+Esc).
I can now confirm MVV's report for 32bit TC9.20rc1.
And I can also confirm that it is fixed in 32bit TC 9.20rc2 so that 32bit and 64bit TC works the same in rc2
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
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