Changed <default> View mode not applied immediately

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
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Changed <default> View mode not applied immediately

Post by *DrShark »

This issue briefly has been mentioned here:
viewtopic.php?p=339535#339535

To reproduce:
1. In Total Commander, open 2 or more Tabs, or make active the setting to show the tab header with only one tab.
2. Activate an option to show icons in Tabs.
3. Go to some dir which doesn't have a custom icon. If you have 2 tabs, for background tab also switch to a dir without custom icon.
4. Open Total Commander Configuration dialog, on View modes page create an additional view mode, e.g. with a name "cabicon".
2. Set an icon for it, e.g. one of cabview.dll icons, using second ">>" button in "Tab color and icon" line of View modes Configuration dialog .
3. Press "Apply" button in View modes Configuration dialog:
you'll see cabview.dll icon for your current tab.
4. In View modes Configuration dialog, switch to <default> view mode.
5. Set an icon for it, e.g. shell32.dll,3 one.
6. Press "Apply" button in View modes Configuration dialog:
you won't see icon set for <default> view applied for current tab (although it will be applied for background tab).

You can then try for above view modes to change or remove (press >>, remove name of a file used as a source for icon) and press Apply or OK after each icon change: you'll see an icon change for "cabicon" will be used for current tab immediately (a switch to "cabicon" view mode will happen), while a change for <default> view mode won't be applied (you'll stay in previous view mode).

I'm not sure what behavior is correct, but there is inconsistency here.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed the <default> mode cannot be activated this way. The main idea of applying the view mode via configuration is that you can see how the color scheme looks. But you cannot set the colors separately for the default mode, so it's not really necessary to apply it from there.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:Indeed the <default> mode cannot be activated this way. The main idea of applying the view mode via configuration is that you can see how the color scheme looks. But you cannot set the colors separately for the default mode, so it's not really necessary to apply it from there.
Still, in default view mode custom icon may be set, and if user applies it having only 1 tab header visible, one won't see the result of a change. I suggest to add such activation of default view mode too.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, for now I will not change it.
Author of Total Commander
https://www.ghisler.com
Post Reply