Directory hotlist – problem with 2 or 3 submenus
Moderators: Hacker, petermad, Stefan2, white
Directory hotlist – problem with 2 or 3 submenus
If you try to add current directory to a submenu (the new feature of the Directory hotlist – Ctrl+D), it works fine if you have only 1 submenu or 4+ submenus. But with 2 or 3 of them will be in the menu only 1 item – the concatenation of the names of the submenus.
TC 8.0ß18 64-bit, Windows 7 64-bit
TC 8.0ß18 64-bit, Windows 7 64-bit
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Not confirmed, just tried with 3 submenus. Can you send me step by step instructions of what exactly you did?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I cannot confirm exactly this error, but similar error can be caused by malformed settings. For example this code (notice the surplus item "menu5"):
causes Image: http://i39.tinypic.com/23kyj9y.jpg
Code: Select all
[DirMenu]
menu1=-System
menu2=--
menu3=-
menu4=TC Directory
cmd4=cd %COMMANDER_PATH%
menu5=--
menu6=-a
menu7=--
Windows 10 Pro x64, Windows 11 Pro x64
1. (Only for the possibility to reproduce the bug I deleted wincmd.ini and restarted TC).
2. Ctrl+D -> Configure… -> Add Submenu… -> (write e.g. "Submenu1") -> OK -> OK.
3. Ctrl+D -> Add current dir -> (continue to add it to the Submenu1).
4. Ctrl+D -> Configure… -> (select the submenu Submenu1) -> Add Submenu… -> (write e.g. "Submenu2") -> OK -> (DRAG IT WITH MOUSE TO THE END) -> OK.
If you then will try to add the current directory to one of submenus, you will get "SubmenuSubmenu2" in the appropriate menu.
2. Ctrl+D -> Configure… -> Add Submenu… -> (write e.g. "Submenu1") -> OK -> OK.
3. Ctrl+D -> Add current dir -> (continue to add it to the Submenu1).
4. Ctrl+D -> Configure… -> (select the submenu Submenu1) -> Add Submenu… -> (write e.g. "Submenu2") -> OK -> (DRAG IT WITH MOUSE TO THE END) -> OK.
If you then will try to add the current directory to one of submenus, you will get "SubmenuSubmenu2" in the appropriate menu.
To ts4242:
You wrote:
For example, if it is possible to drag & drop toolbars button and I tried it, I would be very frustrated, if two buttons would fused to one with 2 icons on it.
Another example: Maybe you remembered one of the first releases of Microsoft Windows 95, when the Start button disappears if you pressed Delete with focus on it – Microsoft did not begin to explain to its customer that it is the stupid behavior of the user, but corrected it.
You wrote:
I don't agree with you. I am only a stupid user and if something is possible, I may try it – there is no warning, nor in the help, that it is for experts only or that it is dangerous.We cannot blame TC in this situation.
For example, if it is possible to drag & drop toolbars button and I tried it, I would be very frustrated, if two buttons would fused to one with 2 icons on it.
Another example: Maybe you remembered one of the first releases of Microsoft Windows 95, when the Start button disappears if you pressed Delete with focus on it – Microsoft did not begin to explain to its customer that it is the stupid behavior of the user, but corrected it.
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OK, I will add support for faulty menu structures.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: