Beta2 OPENBARMENU from button bar always opens on the far left side

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *Horst.Epp »

Beta 2 says
Fixed: New OPENBARMENU command now works properly on a button in the button bar: Show popup overlay icon, open bar below the button (32/64)
This doesn't work here.
It always opens over the far left button on the button bar.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *ghisler(Author) »

Cannot reproduce, it opens under the button with the command.
More info needed.
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *Horst.Epp »

I made a button with OPENBARMENU in my main button bar.
Tested with %P%N or the full path to a bar file in the parameter field.
Regardless of the postion of this button the pop-down buttobar always opens over the far left side of the main button bar.

I found that it works when I add the full or relative path to a bar file as parameter in the command field.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *petermad »

I found that it works when I add the full or relative path to a bar file as parameter in the command field.
Same thing I mentioned here: https://www.ghisler.ch/board/viewtopic.php?p=430808#p430808
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *ghisler(Author) »

Tested with %P%N or the full path to a bar file in the parameter field.
That's the problem, it is currently only handled by the button itself when the .bar name is in the command field.
Otherwise it has to be passed to the more complex function which handles parameters like %P%N and doesn't know from where it was called (button, hotkey, start menu, internal association etc).
Author of Total Commander
https://www.ghisler.com
Dennis_Stevens
Senior Member
Senior Member
Posts: 215
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *Dennis_Stevens »

Horst.Epp wrote: 2023-05-10, 15:52 UTC Beta 2 says
Fixed: New OPENBARMENU command now works properly on a button in the button bar: Show popup overlay icon, open bar below the button (32/64)
This doesn't work here.
It always opens over the far left button on the button bar.
Confirmed. No matter where the OPENBARMENU command is triggered, the menu opens in the upper left corner of the TC-window.
#230412 Single User Licence
Commanding Win10 64bit totally with version 11
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *ghisler(Author) »

2Dennis_Stevens
Did you put the name of the bar in the parameters field? This will have the described effect. Please try putting it in the command field.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2254
Joined: 2020-01-18, 04:03 UTC

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *Fla$her »

2ghisler(Author)
Can you at least implement support for "%O.bar"?
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *petermad »

Can you at least implement support for "%O.bar"?
Yes please (as also mentioned here: viewtopic.php?p=430965#p430965 )
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Dennis_Stevens
Senior Member
Senior Member
Posts: 215
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *Dennis_Stevens »

ghisler(Author) wrote: 2023-05-12, 10:14 UTC 2Dennis_Stevens
Did you put the name of the bar in the parameters field? This will have the described effect. Please try putting it in the command field.
The name is in the command field. The menu is always opened in the top left corner.
#230412 Single User Licence
Commanding Win10 64bit totally with version 11
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *petermad »

2Dennis_Stevens
The name is in the command field. The menu is always opened in the top left corner.
Make sure thet there is ONLY ONE space character between OPENBARMENU and the file name, and that there is NO space character behind the file name.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Dennis_Stevens
Senior Member
Senior Member
Posts: 215
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *Dennis_Stevens »

petermad wrote: 2023-05-14, 18:53 UTC
Make sure thet there is ONLY ONE space character between OPENBARMENU and the file name, and that there is NO space character behind the file name.
There is only one space-character between OPENBARMENU and the filename and there is no space-character behind the filename.
Now the menu is opened on the far right side if I trigger the command by the starter menu (but the starter menu is arranged on the left side), but correctly below a button.

Anyway ... if it is opened by a button I do not see any difference between OPENBARMENU and a linked buttonbar to a button in the old-fashioned way.

Still I do not understand what OPENBARMENU is intended to be used for...
#230412 Single User Licence
Commanding Win10 64bit totally with version 11
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *Horst.Epp »

Dennis_Stevens wrote: 2023-05-15, 08:28 UTC Anyway ... if it is opened by a button I do not see any difference between OPENBARMENU and a linked buttonbar to a button in the old-fashioned way.

Still I do not understand what OPENBARMENU is intended to be used for...
For example, you can have project specific buttonbars in several dirs
and you still need only one button in your main buttonbar.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Dennis_Stevens
Senior Member
Senior Member
Posts: 215
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *Dennis_Stevens »

Horst.Epp wrote: 2023-05-15, 10:13 UTC
For example, you can have project specific buttonbars in several dirs
and you still need only one button in your main buttonbar.
OK, that's an interesting approach....
#230412 Single User Licence
Commanding Win10 64bit totally with version 11
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Beta2 OPENBARMENU from button bar always opens on the far left side

Post by *petermad »

history.txt wrote:14.05.23 Fixed: OPENBARMENU now also works when the bar file is set via "Parameters" field of the button bar: Overlay icon, changed linked bar via right click, open bar at button position (32/64)
Confirmed fixed in TC 11.00b3 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply