Sort Order: always start TC in the same way?

English support forum

Moderators: white, Hacker, petermad, Stefan2

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

Re: Sort Order

Post by *tuska »

petermad wrote:So 4,4 just means: Date, Ascending (0..9), Date, Ascending (0..9)
Thank you very much for the hint!
To be honest, I no longer know how I arrived at the wrong assumption :oops: .
I made a correction above.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Sort Order

Post by *tuska »

2neil154
Try this:
Test.ini

Code: Select all

[Configuration]
UseNewDefFont=1
SetEncoding=äö.do.not.remove
firstmnu=3002
FirstTimeIconLib=0
FirstTime=0
SeparateTree=0
PanelsVertical=0
test=127
[FileSystemPlugins64]
$checksum$=3014672
[ButtonbarCache]
IconDll_default.bar=
IconDll_vertical.bar=
[left]
path=C:\Windows\
ViewMode=-1
activepanelcolor=-1
activepanelcolor2=-1
activepanelcolordark=-1
activepanelcolordark2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
AddSortOrders=4
[right]
path=C:\Windows\
ViewMode=-1
activepanelcolor=-1
activepanelcolor2=-1
activepanelcolordark=-1
activepanelcolordark2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
AddSortOrders=4
[ViewModes]
0_name=<default>
0_icon=
0_options=1|0|0|4|-1|-1|-1|-1|-1
[ViewModeSwitch]
Enabled=1
0_rules=D
0_mode=0
neil154
Junior Member
Junior Member
Posts: 34
Joined: 2010-07-07, 04:14 UTC

Re: Sort Order

Post by *neil154 »

I deleted the entire wincmd.ini file and used your from above. When I open TC it shows the proper sort on the left side but the wrong sort on the right side. If I then change the sort on the right side and then close TC and open TC the wrong sort is showing.

Any suggestions or do you want me to post screen prints of any settings?
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Sort Order

Post by *tuska »

neil154 wrote: 2020-07-30, 17:34 UTC I deleted the entire wincmd.ini file and used your from above.
When I open TC it shows the proper sort on the left side but the wrong sort on the right side.
If I then change the sort on the right side and then close TC and open TC the wrong sort is showing. ...
I think there's something I don't quite understand.
With the previously announced settings (Test.ini) I get the following result: Video (approx. 4 min.)

Please let us know if there is anything that does not meet your expectations.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sort Order

Post by *petermad »

2neil154
https://imgur.com/gallery/VBQ5bju - looks as it should.

But I realized that you are starting up in locked Folder Tabs, that is why it doesn't work - the sort order is saved with the locked tab. If you in stead Lock the tabs with directory changes allowed, then it will work (or if you don't lock the tabs at all).

If you change to Locked tabs with directory changes allowed, you have to either save the settings before you close TC (Configuration -> Save Settings) or you have to enable "Configuration" -> "Options..." -> "Operation" -> "Save on exit" -> "Directories."
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
neil154
Junior Member
Junior Member
Posts: 34
Joined: 2010-07-07, 04:14 UTC

Re: Sort Order

Post by *neil154 »

Okay, that did the trick,I changed to locker but allow directory changes. Now the thing I do not like it that if I click on a folder and it opens up it does not open in the same sort order and also when I exit TC and reneter it the directory that I clicked on is still showing at the top (so it added a folder which I did not want). Yes, I know that I can close it but really didn't want to go thru that.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Sort Order

Post by *tuska »

neil154 wrote:... I changed to locked but allow directory changes.
Now the thing I do not like is that if I click on a folder and it opens up it does not open in the same sort order
Not confirmed with the Test.ini.
Do you mean "if I click on a "Tab, locked, but directory changes allowed" and it opens up it does not open in the same sort order?
neil154 wrote:...also when I exit TC and re-enter in the directory that I clicked on is still showing at the top
(so it added a folder which I did not want).
No folder is added here.
Do you mean the following?
F1 (Help) - Folder Tabs wrote:'Locked, but directory changes allowed' locks a tab.
Reverts to the saved dir when switching to a different tab and back, or when clicking the root button,
or when clicking on the tab header when the tab is already active. Useful e.g. to save the root of a project.
... or when restarting of TC.
neil154
Junior Member
Junior Member
Posts: 34
Joined: 2010-07-07, 04:14 UTC

Re: Sort Order

Post by *neil154 »

Ihave attached a video showing that when I clicked on "Excel" new folder was opened and it stayed even after I exited TC and went back in

https://imgur.com/IMpAfy5
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Sort Order

Post by *tuska »

Could you please update to the current TC version 9.51 and check again.
Thanks!
neil154
Junior Member
Junior Member
Posts: 34
Joined: 2010-07-07, 04:14 UTC

Re: Sort Order

Post by *neil154 »

I upgraded but still have the same issue. I attached video

Image: https://imgur.com/mJMe6wM
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Sort Order

Post by *tuska »

Thanks!

I've had that kind of behavior myself.
Unfortunately, despite a lot of searching, I can't think of how I could solve that at that time.
But surely someone knows that ...
neil154
Junior Member
Junior Member
Posts: 34
Joined: 2010-07-07, 04:14 UTC

Re: Sort Order

Post by *neil154 »

Thanks for all of your efforts
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sort Order

Post by *petermad »

2neil154
Looking at your video, it seems that your folder tab Documents in the left panel is not Locked with directory changes allowed. If directory changes were allowed, clicking on the Excel folder should not open a new foldertab but should open it in the same tab.
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
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sort Order

Post by *petermad »

I, myself also like my TC to start excactly the same way each time, but I accomplish it in another way. I have deselected saving of Directories and Panels in the setup ( https://madsenworld.dk/tcmd/operationsetting.png ), and set the <default> View Mode to "Unchanged" ( https://madsenworld.dk/tcmd/viewmodesetting.png ). Then I set up TC as I want it to start and save the settings ( Configuration -> Save Settings) - and TC will always start up the same way. With that solution you can have your Foldertaps locked.
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: Sort Order

Post by *tuska »

petermad wrote:But I realized that you are starting up in locked Folder Tabs, that is why it doesn't work -
the sort order is saved with the locked tab. If you in stead Lock the tabs with directory changes allowed,
then it will work (or if you don't lock the tabs at all).
Yes, this is the solution to the problem (thanks to petermad! :) )

Code: Select all

- If a Tab has the status "Lock this tab", then a double click on a folder will open a new Tab
- If a Tab has the status "Locked, but directory changes allowed", then NO new Tab is opened after double-clicking on a folder
(Unfortunately, I didn't think about it anymore, because I only use "Tabs, locked, but directory changes allowed" since years).

If these settings were used for the video, this explains the behavior shown.
Test_390752.ini
Test_390762.ini

In the left TC window all tabs except C:pictures had ONLY the status [x] Lock this tab.
In the right TC window all tabs had the status [x] Lock this tab.
Only C:pictures had the status [x] Locked, but directory changes allowed.
Post Reply