maintain branch view if TC is restarted

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mgroen
Junior Member
Junior Member
Posts: 45
Joined: 2018-08-28, 12:04 UTC

maintain branch view if TC is restarted

Post by *mgroen »

Don't know if this is as designed,
but I noticed switching Branch view (cntrl-B), is not maintained if TC is restarted, I have tried Configuration -> Save settings

Is this as designed?

Is it somehow possible to have TC started with branch view allways set to true?

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

Re: maintain branch view if TC is restarted

Post by *Horst.Epp »

Of course its by design and I don't see any reason why one should start in Branch view.
You can get what you want with a view mode and Auto Switch for a dir on start of TC.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
mgroen
Junior Member
Junior Member
Posts: 45
Joined: 2018-08-28, 12:04 UTC

Re: maintain branch view if TC is restarted

Post by *mgroen »

@Horst.Epp:
The point is that it's not about you being able to see why one would want that, the fact is: there is one person (maybe more also) who want it to have it that way.
Everybody works in a different way, so ideally TC could perhaps be adapted to be it more versatile in everybody his/her needs.

For the autoswitch: this only works for specific folders right? Is it possible to make it folder independant? (in other words: always display branch mode no matter what folders are displayed).

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

Re: maintain branch view if TC is restarted

Post by *Horst.Epp »

mgroen wrote: 2020-02-07, 11:41 UTC @Horst.Epp:
The point is that it's not about you being able to see why one would want that, the fact is: there is one person (maybe more also) who want it to have it that way.
Everybody works in a different way, so ideally TC could perhaps be adapted to be it more versatile in everybody his/her needs.

For the autoswitch: this only works for specific folders right? Is it possible to make it folder independant? (in other words: always display branch mode no matter what folders are displayed).

Thanks
You can try to set the <default> view mode to Branch View.
As soon as you leave any specific dir it will switch to branch view.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
Dalai
Power Member
Power Member
Posts: 9388
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: maintain branch view if TC is restarted

Post by *Dalai »

The reason why Branch view gets disabled is simple: It's designed to be only a temporary switch/view, and it takes time for the system (and TC) to determine all files recursively, especially on complex directory structures with many (maybe even thousands of) files. Many users, and Ghisler, prefer TC to be as fast as possible.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: maintain branch view if TC is restarted

Post by *petermad »

Branch view is not even remembered for tabs. Invoke branch view in a tab, click on another tab and go back to the first tab - branch view is disabled.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: maintain branch view if TC is restarted

Post by *tuska »

It is feasible - at least in many cases - if you overrule the usual rules.
But I would also strongly advise against such an attitude!

In any case, it is recommended to make a backup of the wincmd.ini file first(!)

Configuration - Options...
View mode - <Default>:

Code: Select all

Columns view:		Unchanged	(As a rule, "Full" should be set here)
Sort order:		Name
Click on button "Add..."
BranchView, OK

Code: Select all

Auto-run commands:	*cm_DirBranch|cm_wait 750,*cm_DirBranch
OK

Configuration - Options...
Auto Switch Mode

Code: Select all

☑ Automatically switch view mode on directory change: (<-- must be ticked!)
Rule:			D: Directory
Set this mode:		BranchView	(Name of your View Mode)
OK

Attention:
This rule must be on top of the list, if there are other Auto Switch Mode rules -
if necessary, press the arrow key "∧" several times.

... At this point at the latest the cat bites its own tail.

Overview: View Mode | Auto Switch Mode | Custom columns view
mgroen
Junior Member
Junior Member
Posts: 45
Joined: 2018-08-28, 12:04 UTC

Re: maintain branch view if TC is restarted

Post by *mgroen »

Thanks for all the info.
Are the settings saved if TC is updated with new version?
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: maintain branch view if TC is restarted

Post by *tuska »

mgroen wrote: 2020-02-07, 18:19 UTC Thanks for all the info.
Are the settings saved if TC is updated with new version?
Yes, but you can also back up the settings in wincmd.ini beforehand:

Code: Select all

Configuration - Save Settings
Configuration - Save Position
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: maintain branch view if TC is restarted

Post by *tuska »

If you ever try the topic in the new TC version 9.50 as described above, then I would like to tell you the following:

- cm_ToggleAutoViewModeSwitch 2947 Turn automatic view mode switching on/off
  It is recommended to create a button with the command cm_ToggleAutoViewModeSwitch
  to be able to switch off/on Auto Switch Mode

- Settings
  Since TC 9.50 there have been changes regarding the use of history.
  See HISTORY.TXT, keywords: HistoryThinning, HistoryCut
  Example
Post Reply