[solved] BarLimitLines=1 doesn't work in TC 9x

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14742
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[solved] BarLimitLines=1 doesn't work in TC 9x

Post by *petermad »

The parameter:

[Buttonbar] BarLimitLines=1

doesn't work in TC 9x any longer - and it is not mentioned in neither the help file or in history.txt that it should be changed, so I guess it is a bug.
Last edited by petermad on 2021-05-30, 11:46 UTC, edited 1 time in total.
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
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: BarLimitLines=1 doesn't work in TC 9x

Post by *gdpr deleted 6 »

petermad wrote:The parameter:

[Buttonbar] BarLimitLines=1

doesn't work in TC 9x any longer - and it is not mentioned in neither the help file or in history.txt that it should be changed, so I guess it is a bug.
The parameter still works. Make sure you have only one [Buttonbar] section in your INI file. (Parameters in a 2nd and further section will be ignored as it seems...)
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: BarLimitLines=1 doesn't work in TC 9x

Post by *tuska »

elgonzo wrote:The parameter still works. Make sure you have only one [Buttonbar] section in your INI file. (Parameters in a 2nd and further section will be ignored as it seems...)
I have only those sections available in wincmd.ini:

Code: Select all

[Buttonbar], [ButtonbarVertical] (and [ButtonbarCache])
and under [Buttonbar] e.g. the entry Buttonbar=%Commander_Path%\DEFAULT.BAR
and still the command does not work in TC 9.0a.

There is, however several .bar files, eg generated with Ultra TC Editors - Button Bar Editor.
In my opinion this wincmd.ini entry should be applied.
User avatar
petermad
Power Member
Power Member
Posts: 14742
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2elgonzo
Make sure you have only one [Buttonbar] section in your INI file
I only have 1 [Buttonbar] section.

But, I found out that BarLimitLines=1 only works if the vertical buttonbar is hidden.

If vertical buttonbar is visible, hide it (right click on it) and restart TC.
Last edited by petermad on 2017-07-01, 12:34 UTC, edited 1 time in total.
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
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Post by *gdpr deleted 6 »

I can confirm petermad's findings (for both TC32 and TC64).

As soon as i enable the vertical buttonbar, TC stops respecting the BarLimitLines parameter (no restart of TC necessary).

After disabling the vertical buttonbar again, i need to disable+enable the primary buttonbar or restart TC to make it respect the BarLimitLines parameter again.

Also, disabling+enabling the primary buttonbar makes TC respect the BarLimitLines parameter again even if the vertical buttonbar is still enabled/visible, which indicates that the cause/trigger for the bug is related to whatever happens when the vertical buttonbar is enabled and initialized.
Last edited by gdpr deleted 6 on 2017-07-01, 12:37 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14742
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

After disabling the vertical buttonbar again,
That's what I meant by writing. "If vertical buttonbar is visible" (initially)
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: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for the hint about the vertical bar, I will try to fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

28.08.17 Release Total Commander 9.10 beta 1 pre 1 (private beta) (32/64)
10.07.17 Fixed: Buttonbar: limiting the number of button bar lines with wincmd.ini
[buttonbar] barlimitlines=x didn't work when vertical button bar was active (32/64)
This is fixed in TC 9.10ß1 - 32 bit + 64 bit.
Tested under Windows 10 Pro (x64) Version 1703 (Build 15063.608).
User avatar
petermad
Power Member
Power Member
Posts: 14742
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed already in the pre beta-test :-)
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