Change buttonbar in another instance

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Change buttonbar in another instance

Post by *MVV »

As TC can't handle this fully, I treat it as a bug.

Easiest way to reproduce:

1. Open TWO (at least) instances of same TC installation.
2. Switch to any instance and edit buttonbar: add any button (e.g. separator) in its beginning (left buttonbar side).
3. Switch to another instance and try to read button's hints or execute any button - icons will remain but hints and actions will change according to button indexes in new buttonbar file.

Available ways to resolve:

1. Cache whole loaded buttonbar and use hints/actions from cache.
2. Update buttonbar icons when buttonbar file changes.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Also such buggy behaviour appears when I e.g. add or remove internal association with low index - another TC instance tries to perform action for wrong extension.

I can't find any reason why TC doesn't keep all settings in memory and takes them from INI everytime - its much longer and borns bugs like this.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, this isn't currently supported.
Author of Total Commander
https://www.ghisler.com
Post Reply