Hello, Claude.
Sorry it has taken so much time. Yet, before writing an answer I wanted to check your bar-files and see myself what happens if
+ a buttonbar is opened normally (as yet another buttonbar)
+ a buttonbar is opened as a menu (the calling buttonbar still active in this case).
Summary in Advance:
As will be illustrated further down, you are launching the exact opposite complaint which HBB launched in his thread
Back Button doesn't dissappear always in Menu View:
He complained because he suspected that T.C. might not consistently hide buttons pointing to the active buttonbar when another buttonbar has been opened as a menu.
You complain, because T.C. consistently hides those buttons of a buttonbar in menu view which point back to the parent buttonbar which opened the child buttonbar as a menu.
In short words, the issue reported in this thread has been covered by the other thread already:
Back Button doesn't dissappear always in Menu View.
It seems a bit as if you refuse to accept that the behaviour which you see by buttonbars launched as menus is by Total Commander design.
Preparations
In order to reproduce your reports, I took
your bar-files. Before I could use them on my machine, I had to
apply a few minor modifications, however:
- The bar-files held quite a few buttons which were unrelated to the reported issue. So the number of buttons were stripped down from 36/34/25 buttons to 7/8/9 buttons (default.bar / barre2.bar / barre3.bar)
- None of the referenced folders can be found on my system. So I had to change the remaining path specifications.
- None of the used icon files will be found on a standard T.C. installation. So I had to change the used icons as well.
- For the convenience of readers who do not speak French fluently, English translations were added where appropriate.
Bar-Files Used for Testing
Default.bar
[Buttonbar]
Buttoncount=7
button1=%COMMANDER_PATH%\WCMICONS.DLL,53
cmd1=RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
iconic1=0
menu1=Éjecter clé USB… (Eject USB device)
button2=
iconic2=0
button3=%COMMANDER_PATH%\WCMICONS.DLL,14
cmd3=498
iconic3=0
menu3=Configurer la barre 1 en cours (Configure current buttonbar - Default.bar)
button4=
iconic4=0
button5=%COMMANDER_PATH%\WCMICONS.DLL,78
cmd5=%$PERSONAL%\tc750a\Karl\barre2.bar
iconic5=0
menu5=Ouvrir barre 2 (Open buttonbar 2 - Barre2.bar)
button6=
iconic6=0
button7=%COMMANDER_PATH%\WCMICONS.DLL,76
cmd7=%$PERSONAL%\tc750a\Karl\barre3.bar
iconic7=0
menu7=Ouvrir barre 3 (Open buttonbar 3 - Barre3.bar)
Barre2.bar
[Buttonbar]
Buttoncount=8
button1=%COMMANDER_PATH%\WCMICONS.DLL,53
cmd1=RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
iconic1=0
menu1=Éjecter clé USB… (Eject USB device)
button2=%COMMANDER_PATH%\WCMICONS.DLL,53
cmd2=RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
iconic2=0
menu2=Éjecter clé USB… (Eject USB device)
button3=
iconic3=0
button4=%COMMANDER_PATH%\WCMICONS.DLL,77
cmd4=%$PERSONAL%\tc750a\Karl\default.bar
iconic4=0
menu4=Ouvrir barre 1 (Open buttonbar 1 - Default.bar)
button5=
iconic5=0
button6=%COMMANDER_PATH%\WCMICONS.DLL,14
cmd6=cm_ButtonConfig
iconic6=0
menu6=Configurer la barre 2 en cours (Configure current buttonbar - Barre2.bar)
button7=
iconic7=0
button8=%COMMANDER_PATH%\WCMICONS.DLL,76
cmd8=%$PERSONAL%\tc750a\Karl\barre3.bar
iconic8=0
menu8=Ouvrir barre 3 (Open buttonbar 3 - Barre3.bar)
barre3.bar
[Buttonbar]
Buttoncount=9
button1=%COMMANDER_PATH%\WCMICONS.DLL,53
cmd1=RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
iconic1=0
menu1=Éjecter clé USB… (Eject USB device)
button2=%COMMANDER_PATH%\WCMICONS.DLL,53
cmd2=RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
iconic2=0
menu2=Éjecter clé USB… (Eject USB device)
button3=%COMMANDER_PATH%\WCMICONS.DLL,53
cmd3=RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
iconic3=0
menu3=Éjecter clé USB… (Eject USB device)
button4=
iconic4=0
button5=%COMMANDER_PATH%\WCMICONS.DLL,77
cmd5=%$PERSONAL%\tc750a\Karl\default.bar
iconic5=0
menu5=Ouvrir la barre 1 (Open buttonbar 1 - Default.bar)
button6=
iconic6=0
button7=%COMMANDER_PATH%\WCMICONS.DLL,78
cmd7=%$PERSONAL%\tc750a\Karl\barre2.bar
iconic7=0
menu7=Ouvrir la barre 2 (Open buttonbar 2 - Barre2.bar)
button8=
iconic8=0
button9=%COMMANDER_PATH%\WCMICONS.DLL,14
cmd9=498
iconic9=0
menu9=Configurer la barre 3 en cours… (Configure current buttonbar - Barre3.bar)
Note:
Default.bar holds 1 button to "Eject the USB device".
Barre2.bar holds 2 buttons to "Eject the USB device".
Barre3.bar holds 3 buttons to "Eject the USB device".
This was done in order to make sure that the buttonbars can be recognized more easily. Looking at the screenshots you will understand, I guess.
Test Results - See the 4 Screenshot Images
- Screenshot TC750_buttonbars.PNG serves to illustrate what the 3 (reduced) buttonbars look like when invoked normally (not as menus).
You can see what each button does.
- The following 3 screenshots will illustrate for each of the 3 buttonbars what it looks like when invoked normally vs what it looks like when invoked as a menu.
Please, do not miss the annotations inside the screenshots. They explain why the buttonbars are displayed as they are displayed in buttonbar mode and in menu mode.
- Screenshot TC750_buttonbars_bar01.PNG: Starting point is buttonbar 2. Inside buttonbar 2 (barre2.bar), the button to open buttonbar 1 (default.bar) is
(1) clicked normally thus opening the bar-file in buttonbar mode
(2) shift-clicked thus opening it in menu mode
Note that the missing button in menu mode is the button meant to open the still active parent buttonbar 2 (barre2.bar)
- Screenshot TC750_buttonbars_bar02.PNG: Starting point is buttonbar 1. Inside buttonbar 1 (default.bar), the button to open buttonbar 2 (barre2.bar) is
(1) clicked normally thus opening the bar-file in buttonbar mode
(2) shift-clicked thus opening it in menu mode
Note that the missing button in menu mode is the button meant to open the still active parent buttonbar 1 (default.bar)
- Screenshot TC750_buttonbars_bar03.PNG: Starting point is buttonbar 1. Inside buttonbar 1 (default.bar), the button to open buttonbar 3 (barre3.bar) is
(1) clicked normally thus opening the bar-file in buttonbar mode
(2) shift-clicked thus opening it in menu mode
Note that the missing button in menu mode is the button meant to open the still active parent buttonbar 1 (default.bar)
Conclusion
The performed tests, illustrated by the quoted bar-files and the screenshots, should be sufficient to prove that Total Commander acts as designed when displaying buttonbars as menus:
MVV wrote:This is a feature. TC hides from menus items pointing to bar-files used to open current menu.
So the term bug is inappropriate whatever your grandson says. It is a design decision.
If you do not like this designed behaviour, this is a different story. Maybe you can convince Christian to change the design.
Kind regards,
Karl