Reproduced on Vista 32-bit in Total Commander 10.00 final.
To reproduce:
1. Open some folder tabs.
2. Hide them by executing cm_VisDirTabs.
3. Close Total Commander.
4. Start Total Commander again.
TC will start without tabs visible.
5. Execute cm_VisDirTabs.
Total Commander will NOT restore tabs you opened previously in step 1.
6. At this stage it's still possible to restore that tabs:
start another TC instance and execute cm_VisDirTabs there - tabs should appear (depending on how many times you tried cm_VisDirTabs in first instance, there may be a need to execute cm_VisDirTabs more than 1 time to get tabs restored). Now make sure you'll close second TC instance after first one to have that tabs saved.
Tabs not restored after hiding and Total Commander restart
Moderators: Hacker, petermad, Stefan2, white
Tabs not restored after hiding and Total Commander restart
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Tabs not restored after hiding and Total Commander restart
This is intentional and will not be changed. cm_VisDirTabs disables tabs, so when TC saves tabs, it will save just the two visible directories.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Tabs not restored after hiding and Total Commander restart
Since reproduce step 6 shows that it's possible to restore tabs after 1st TC restart with tabs hidden, it seems TC actually stores them.ghisler(Author) wrote: 2021-08-31, 10:54 UTCcm_VisDirTabs disables tabs, so when TC saves tabs, it will save just the two visible directories.
The description of cm_VisDirTabs says:
It's not obvious that TC can kill that tabs entirely after hiding.Show/hide folder tabs
I think more expected approach would be to add a separate command, like cm_DeleteTabs, which would hide tabs visually and in addition make it impossible to restore them with cm_VisDirTabs or after Total Commander restart.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Tabs not restored after hiding and Total Commander restart
I lost all my tabs today because of this ambiguity (I wanted to use this feature to increase vertical available space while on quickview mode)
Show/Hide is not the same as Disable/Enable...
edit: The problem seems when starting TC with DirectoryTabs set to 0, it does not load the previously saved tabs.
Then, is there a way to always start TC with DirectoryTabs enabled?
Show/Hide is not the same as Disable/Enable...
edit: The problem seems when starting TC with DirectoryTabs set to 0, it does not load the previously saved tabs.
Then, is there a way to always start TC with DirectoryTabs enabled?
Re: Tabs not restored after hiding and Total Commander restart
2byblo
If you have disabled Folder Tabs (under Layout or with cm_VisDirTabs) then TC will start in that mode, no way around that.
Configuration -> "Options..." -> "Folder Tabs" -> "Show tab header also when there is only one tab" - or do I misunderstand your question?Then, is there a way to always start TC with DirectoryTabs enabled?
If you have disabled Folder Tabs (under Layout or with cm_VisDirTabs) then TC will start in that mode, no way around that.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar