Directory menu/hotlist deletes entries if "D" pressed
Moderators: white, Hacker, petermad, Stefan2
Directory menu/hotlist deletes entries if "D" pressed
version 9.22a
I open the "Directory menu" or "Directory hotlist" with Ctrl+D.
Then I press a key to jump to my favorite directory.
It works really well for all the letters from A-Z except the letter D.
If I have for example a "Download" or "Documents" directory:
pressing "D" it will jump to this directory, but it will also DELETE this entry at the same time.
I was wondering for some time how is it possible that some entries disappear from the "Directory menu".
Today I discovered that this is happening only for the "D" letter.
I open the "Directory menu" or "Directory hotlist" with Ctrl+D.
Then I press a key to jump to my favorite directory.
It works really well for all the letters from A-Z except the letter D.
If I have for example a "Download" or "Documents" directory:
pressing "D" it will jump to this directory, but it will also DELETE this entry at the same time.
I was wondering for some time how is it possible that some entries disappear from the "Directory menu".
Today I discovered that this is happening only for the "D" letter.
Re: Directory menu/hotlist deletes entries if "D" pressed
Can't reproduce with neither 9.22a nor 9.50b5 32-bit.
Which LNG do you use? Which character is a shortcut character in your "Remove current dir" menu item?
Which LNG do you use? Which character is a shortcut character in your "Remove current dir" menu item?
Re: Directory menu/hotlist deletes entries if "D" pressed
Same question with the MVV, if you use english menu, deafault should be Remove current dir
And the default hotkey is R
Anyway you can modify your lng file and remove the hotkey(by delete the & before the chara)
And the default hotkey is R
Anyway you can modify your lng file and remove the hotkey(by delete the & before the chara)
Re: Directory menu/hotlist deletes entries if "D" pressed
The only nuance here is that when there are two items with same shortcut key, pressing the key should move focus between these items, and there is no "Remove current dir" item before jumping to the folder... So it is a bit strange issue.
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Directory menu/hotlist deletes entries if "D" pressed
That's how menus behave - if "d" is underlined, pressing 'd' will invoke that menu item.
Solution: Make 'd' the hotkey in one of your entries by placing & in front of a "d" character, e.g.
"My &directory"
Then the menu will jump between the two entries when you press "d".
Solution: Make 'd' the hotkey in one of your entries by placing & in front of a "d" character, e.g.
"My &directory"
Then the menu will jump between the two entries when you press "d".
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Directory menu/hotlist deletes entries if "D" pressed
2ghisler(Author)
Have you considered using shortkeys other than letters/numbers for constant menu items? For example:
I think that using +-* is more intuitive as these keys are already used in similar meaning for file selection. What is more, they will be the same characters in all languages and less likely to use in directory list.
Have you considered using shortkeys other than letters/numbers for constant menu items? For example:
Code: Select all
1146="&+ Add current dir"
1147="&- Remove current dir"
1148="&* Configure..."
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Directory menu/hotlist deletes entries if "D" pressed
The problem is that the location of these key depends on the used keyboard. Many laptops no longer have a separate numeric keypad.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Directory menu/hotlist deletes entries if "D" pressed
2ghisler(Author)
It works also for keys entered from the main keyboard part (Shift+=, -, Shift+8). Tested on a notebook which has NO numeric keypad at all, even emulated with Fn.
It works also for keys entered from the main keyboard part (Shift+=, -, Shift+8). Tested on a notebook which has NO numeric keypad at all, even emulated with Fn.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Directory menu/hotlist deletes entries if "D" pressed
That's the reason why my WCMD_ENG.lng contains an entry:
Regards
Holger
to prevent accidental removal of directory hotlist entries.1147="®emove current dir"
Regards
Holger
Make our planet great again