Sortorder= differs between TC 8.52a (OK) and 9.12 (wrong?)

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

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

Sortorder= differs between TC 8.52a (OK) and 9.12 (wrong?)

Post by *tuska »

In my opinion, the ascending sorting after a TC restart in TC 9.12 is not preserved - it remains in TC 8.52a.

Discussion already exists here.
Difference is shown here. (With Ctrl + mouse wheel the display can be optimized).

Can anyone confirm this behaviour?
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2tuska

On you screenshots I notice 2 things that are not standard TC features:

1. You have the date and time displayed in the Title bar
2. You have an empty horizontal bar between the Folder tab bar and the Drive combo bar.

Marked with red here: http://madsenworld.dk/tcmd/tuska.png

What ever causes these two things - try and disable them and test again.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

2petermad
The second thing is just a regular tab "blacked" out for privacy reasons.

2tuska
It might be better to pixelate or blur private parts of screenshots or make them another color or the like.

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
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

petermad wrote:1. You have the date and time displayed in the Title bar
This is related to an AHK script, which hides my registered user name and displays date and time instead.
petermad wrote:2. You have an empty horizontal bar between the Folder tab bar and the Drive combo bar.

Dalai has already explained that correctly.

I have used a factor of 100 when graying out - the color adapts to the background color.
I will use a factor of 75 in the future (then it will certainly be more apparent that this is a "blackening") or pixelate as Dalai suggested.

Furthermore I used cm_VisButtonbar, cm_VisButtonbar2 to hide the button bars (horizontal/vertical) (for space).

But these points have nothing to do with the actual problem.

Everything has already been said by me in both forums - I will most likely not do any more tests.
I think if you look at the displayed steps in the picture, it should be apparent -> Point 4. where another user and I suspect a problem.

Either somebody confirms an error or this post disappears in the sinking, as it would already have happened
with the contribution in the English forum (start: 20.1.2018, last contributions from 26.1.2018 | in the forum already on page 2)

I'm sorry to have to say that.

EDIT:
Another possibility, of course, would be for anyone to show a way in which sorting (as in 8.52a) is preserved in TC 9.12
without changing settings in TC that may lead to a disadvantage at a later date.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

Here are again my summary - results (on my PC!):
1. Clean.ini | TC 9.12 (x86, x64) -> OK
2. wincmd.ini | TC 8.52a (x86, x64) -> OK
3. wincmd.ini | TC 9.12 (x86, x64) -> not OK

It should be emphasized that TC 8.52a and TC 9.12 always use the same wincmd.ini.
- I can alternatively invoke TC 8.52a x86 or x64 - sorting is retained
- If I switch to a TC 9.12 version afterwards, the sorting will not work anymore

The main problem with TC 9.12 is:
As also shown in the picture under point 4, after TC restart in wincmd.ini
a) sortorder=3 (3=sort by date) is shown, ...
b) although this view does not exist, but already sortorder=0 (0=sort by name) is shown!
c) only after saving (Configuration - Save Settings) in wincmd.ini the value of sortorder=3 is updated to sortorder=0
c) -> at that time the correct value
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2tuska
Since it works OK for you in TC9,12 with a clean ini, there must obviously be somthing in your wincmd.ini that TC 8,52a can work with, but that makes TC 9.12 fail.

Is there any chance that you could provide these sections from your wincmd.ini - cleaned for personal information - for us to try, to see if we can reproduce the bug:
[Configuration]
[left]
[right]
[lefttabs]
[righttabs]
[ViewModes]
[ViewModeSwitch]

These are the sections most likely to be responsible for the bug.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

2petermad
Why not, I am glad that someone takes care of it.

Code: Select all

[Configuration]
StartupScreen=0
EditWaitTime=-1			'http://ghisler.ch/board/viewtopic.php?t=35472&highlight=editwaittime, http://ghisler.ch/board/viewtopic.php?p=173544#173544
firstmnu=1349
PanelsVertical=0
'TitleExtraText=		'https://ghisler.ch/board/viewtopic.php?t=48533
test=152
Mainmenu=WCMD_eng.mnu
ShowHiddenSystem=0
AdminTimeout=180
InactiveFocus=1 'Cursor wird im inaktiven Panel strichliert dargestellt; Beispiel: Wert $300 ergibt präzise strichlierte Umrahmung im anderen Panel.
'CompareTool=%Commander_Path%\Tools\WinMergePortable\WinMergePortable.exe
InplaceOkButton=0
UseLongNames=1
MaxItemsInComboBox=40	'https://ghisler.ch/board/viewtopic.php?p=330105#330105
SameScreenAsTC=1
Small83Names=0
OldStyleTree=1
autotreechange=1
AutoUpdateCheck=1		'https://ghisler.ch/board/viewtopic.php?p=334018#334018
AutoUpdateCheckBeta=1	'HISTORY.txt - 13.11.17 Added: 9.12 release candidate 4
ShowParentDirInRoot=1
Showicons=2
ShowExtraDrives=7
ShellExtIcons=1
ShowEXEandLNKicons=2
TreeFileLocation=%COMMANDER_PATH%\treeinfo%D%.wc
LongNameCopy=1
SortDirsByName=0
SkippedFileCopy=1			'https://ghisler.ch/board/viewtopic.php?p=333413#333413
Tips=3
AppendLnk=1
tooltipdelay=100
PopupDelay=150
AppendLnk=2
ContextProgress=0
CopyAllTimes=1
HistoryLen=45
OldCmdLineCount=45
IconsOnNet=1
FileTipWindows=1
Win32TipWindows=1
SyncFlags=25
SyncButtons=61
'SyncRecompareAfterCopy=0    '16.07.13 Added: wincmd.ini [Configuration] SyncRecompareAfterCopy=0 turns off automatic recompare after synchronizing files. The result list is just cleared (32/64)
onlyonce=0
TrayIcon=0
UseRightButton=1
Savepath=1
Savepanels=1
SaveHistory=1
SaveCommands=1
MarkDirectories=0
CopyToDirWarn=1
ShowInstanceNr=1
AlwaysCopyInBackground=2
SubdirCopyOrder=5
CtrlArrowOpenArchive=1       'http://ghisler.ch/board/viewtopic.php?t=42430
SizeCheck=1
DrivesShowUpcase=1
DrivesExportUpcase=1
HideRemovableNoMedia=1
AltSearch=3
CountSpace=1
CountMarked=1
NewTimeZoneMethod=1
1hourdif=1
CopyComments=22
BreadcrumbSeparator=0
BreadcrumbDelayButton=-250
BreadcrumbDelayDir=50
BreadcrumbdelayPlugin=-1
BreadcrumbDelayVirtual=-1
BreadcrumbDelayFtp=-1
Viewertype=0
InplaceRenamePath=2
PreloadThumbnails=2
LockedGoToDriveRoot=0
SoundDelay=-10
FirstTimeZIP=0
ShowCentury=1
Aligned extension=1
SizeStyle=0
SizeFooter=1
DirTabOptions=2043
DirTabLimit=15
ExplorerForCopy=0
Win95Delete=1
VistaDelete=1
UseTrash=1
'InstallDir=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB   'http://ghisler.ch/board/viewtopic.php?p=308015#308015
CompareCaseSensitive=1
CompareVertical=0
ThreadFindFirst=1
LongInStatus=1
FirstTimeUnpack=0
FirstTime=0
ThumbsLocation=%COMMANDER_PATH%
ThumbsCopyDel=1
ThumbsCustomFieldsEnabled=1
ThumbOptions=15
ThumbExplTypes=*.* | *.htm *.html *.lnk
ThumbPlgTypes=*.*
ThumbIrfXnTypes=*.*
ThumbTxtTypes=*.txt *.ini
IconOverlays=1
pluginbasedir=%COMMANDER_PATH%\Plugins
ThumbsCustomField=[=exif.ISO]; [=exif.FocalLength]; [=exif.ExposureTimeFraction]\n[=exif.FNumber]; [=exif.ExposureProgram]
SeparateTree=0
DirBrackets=1
SortUpper=0
AlwaysToRoot=1
SingleClickStart=1
RenameSelOnlyName=1
LogOptions=7198
LogRotateLimit=0
LogKeepCount=30
IgnoreListFileEnabled=1
WatchDirs=51
CustomFieldsInDlg=1
Titles=&Pfad 
Widths1=159,44,-48,255 
Headers1=Größe\nPfad 
Contents1=[=tc.size]\n[=tc.path] 
Options1=-1|1
ThumbsInDlg=0
CompareIgnoreRepSpace=0
CompareIgnoreRepeatedLines=0
CopyDirTimeStamp=1           'http://ghisler.ch/board/viewtopic.php?p=192050#192050
IgnoreListFile=%COMMANDER_PATH%\Migration\tcignore.txt
LastRunAs=KB
FirstFTPSync=0
SeparateTreeWidth=331
IconsSpecialFolders=3
IconsInMenus=5
QuickSearchAutoFilter=2
QuickSearchMatchBeginning=0
QuickSearchExactMatch=0
AltSearch=3
SearchInFiles=*.DOCX *.docm *.dotx *.dotm *.XLSX *.xlsm *.xltx *.xltm *.xlam *.pptx *.pptm *.potx *.ppsx *.ppsm *.pdf *.exe *.jar *.zip *.7z *.rar *.xpi *.pak *.pk3 *.sxw *.sxc *.odt *.ods *.odp
lastmd5=2
ShowCopyOptions=0
SpeedLimit=5.0
CheckUsbHdd=1 'CheckUsbHdd=0 ...= Die externe Festplatte wird als "normales" Laufwerk angezeigt, wie zB Laufwerk C:\
TabDir=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\TABs\
UseIniInProgramDir=7
CmtOemFont=0
LastSearchOptions=992
UseNewDefFont=0
CrcSeparateFiles=0
IconClickSelection=1
CopyCompatDrives=MNOPQ*\
CopyHugeBlockSize=10240
CopyHugeBlockSizeOther=64
Viewer=%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.exe "%1"
Editor=%COMMANDER_PATH%\Tools\EmEditor-portabel\EmEditorProfessional_64-bit_portabel\EmEditor.exe "%1"
MinIconWidth=-2
MinLineHeight=-1
CommentPreferredFormat=4
AutoUpdateCheckDate=2018021906
UseRubberBandSelection=1
UseEverything=1
Everything=%COMMANDER_PATH%\Tools\Everything\Everything-Installation_\Everything.exe -startup   'Ort für Everything.exe festlegen, um das Programm zu starten, falls es beim Klick auf "Everything" im Suchfenster nicht läuft. Ohne Angabe wird Everything.exe im Total Commander-Verzeichnis gesucht.
AutoUpdateInformedVersion=592613
CompareExtraLines=2
DirTabIcons=255
SetEncoding=äö.do.not.remove
ShowHiddenSystem=1
OldListIcons=1
IconLib=%COMMANDER_EXE%
ShowHiddenDimmed=0
ShowHiddenSystemOverlay=1
FirstTimeIconLib=0
OldDriveIcons=2
CrcSeparateFolders=0
AutoReUpload=2
LanguageIni=WCMD_eng.LNG
EverythingForSize=1
CompareBytesPerLine=8
OverrideDPI=130
OverrideDPI120=130
MultiRenameEdit=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Tools\EmEditor-portabel\EmEditorProfessional_64-bit_portabel\EmEditor.exe
[left]
path=D:\Daten\
ShowAllDetails=1
show=1
negative Sortorder=0
SpecialView=0
userspec=><"*.xlsx|"*.xlsm
ViewMode=0
activepanelcolor=-1
activepanelcolor2=-1
sortorder=0
[right]
path=I:\Daten\
ShowAllDetails=1
show=1
negative Sortorder=0
SpecialView=0
userspec=|*.*
ViewMode=0
activepanelcolor=-1
activepanelcolor2=-1
sortorder=0
[ViewModes]
0_name=<Vorgabe>
0_icon=
0_options=1|0|0||-1|-1|-1
1_name=Standardansicht
1_icon=
1_options=6|0|0||-1|-1|-1
2_name=Ansicht-100pct_Ansicht-50pct
2_icon=
2_commands=cm_VerticalPanels,cm_100Percent|cm_VerticalPanels,cm_50Percent
2_options=-1|-1|0||-1|-1|-1
3_name=Standardansicht-breit-linkes-Fenster
3_icon=
3_commands=cm_FocusLeft,cm_100Percent
3_options=7|-1|0||-1|-1|-1
4_name=Standardansicht-breit_rechtes-Fenster
4_icon=
4_commands=cm_FocusRight,cm_100Percent
4_options=7|-1|0||-1|-1|-1
5_name=Bildvorschau (Thumbnails)
5_icon=
5_options=5|0|0||-1|-1|-1
6_name=CUE
6_icon=%COMMANDER_PATH%\Tools\CUEcards2005-portable\CUEcards.exe
6_options=1|0|0||-1|-1|-1
7_name=Dateianzahl_Unterverzeichnisse_Größen
7_icon=""%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.exe""
7_commands=cm_RereadSource
7_options=8|-1|0||-1|-1|-1
8_name=Dateiname und Pfad
8_icon=
8_options=10|-1|0||-1|-1|-1
9_name=DateInNamesOlderThanTomorrow
9_icon=
9_commands=cm_100percent|cm_50percent
9_options=12|-1|0||-1|8454143|-1
10_name=Description_Beschreibungen
10_icon=
10_commands=cm_100percent|cm_50percent
10_options=13|100|0|1,3|-1|-1|-1
11_name=ERLEDIGTE_OFFENE
11_icon=
11_options=14|100|1|1|-1|-1|-1
12_name=Fehlerreports
12_icon=
12_options=1|3|1||-1|-1|-1
13_name=Fotos_Abmessungen
13_icon=
13_options=22|0|0||-1|-1|-1
14_name=Fotos_EXIF-Brennweite-Belichtung
14_icon=
14_commands=cm_100percent|cm_50percent
14_options=20|-1|0||-1|-1|-1
15_name=Fotos_Querformat
15_icon=
15_commands=|cm_SrcViewMode0,em_Filter-alle-löschen
15_options=22|103|1||-1|-1|-1
16_name=Hide Folders
16_icon=
16_commands=*cm_SrcAllFiles
16_options=6|0|0||-1|-1|-1
17_name=Hintergrund_GELB
17_icon=
17_commands=| cm_SrcViewMode0
17_options=-1|-1|0||-1|15794175|15794175
18_name=Hintergrund_GRÜN
18_icon=
18_commands=| cm_SrcViewMode0
18_options=-1|-1|0||-1|15794160|15794160
19_name=Lange Ansicht-Hintergrund GELB
19_icon=
19_options=6|-1|0||-1|15269887|-1
20_name=MP3
20_icon=
20_commands=cm_100percent|cm_50percent
20_options=27|-1|0||-1|-1|-1
21_name=Nicht älter als 1 Tag
21_icon=
21_commands=em_Nicht-älter-als-1-Tag|cm_SrcViewMode0,em_Filter-alle-löschen
21_options=-1|-1|0||-1|-1|-1
22_name=Nur Textdateien anzeigen
22_icon=
22_commands=em_Nur-Textdateien-anzeigen_CD
22_options=6|-1|0||-1|-1|-1
23_name=Pfad
23_icon=
23_commands=cm_VerticalPanels|cm_VerticalPanels
23_options=32|0|0||-1|-1|-1
24_name=Pfadlänge
24_icon=
24_options=31|-1|0||-1|-1|-1
25_name=Sortierung_absteigend
25_icon=
25_options=1|3|1||-1|-1|-1
26_name=Suche
26_icon=
26_commands=cm_OpenNewTab | cm_SrcViewMode0
26_options=-1|-1|0||-1|-1|-1
27_name=Tab-Farbe_BLAU
27_icon=
27_options=6|0|0||16711680|-1|-1
28_name=Tab-Farbe_BRAUN-Hintergrund_GELB
28_icon=*
28_commands=cm_SrcByDateTime
28_options=6|0|0|2|128|15794175|15790335
29_name=Tab-Farbe_GELB
29_icon=
29_options=6|0|0||65535|-1|-1
30_name=Tab-Farbe_GRÜN
30_icon=
30_options=6|0|0||32768|-1|-1
31_name=Tab-Farbe_ROT
31_icon=
31_options=6|0|0||255|-1|-1
32_name=TC_Plugins
32_icon=
32_commands=cm_FocusTrg,em_LoadPluginTabs,cm_FocusTrg
32_options=-1|-1|0||-1|-1|-1
33_name=TotalCommander
33_icon=%COMMANDER_PATH%\TOTALCMD.EXE
33_options=1|0|0||-1|-1|-1
34_name=Verzeichnis-aufrufen-und-2-Tabs-öffnen
34_icon=
34_commands=cm_FocusTrg,em_Verzeichnis_Tabs,cm_FocusTrg
34_options=1|0|0||-1|-1|-1
35_name=D-Vorlagen
35_icon=shell32.dll,19
35_options=-1|-1|0||-1|-1|-1
36_name=D-WINWORD
36_icon=shell32.dll,1
36_options=-1|-1|0||-1|-1|-1
37_name=I-OneNote
37_icon=shell32.dll,134
37_options=-1|-1|0||-1|-1|-1
[ViewModeSwitch]
Enabled=1
0_rules=+D:\Rechnungen\*\
0_mode=34
1_rules=+%COMMANDER_PATH%\Migration\_Forumsanfragen\*\
1_mode=11
2_rules=+D:\Daten\Programme\Windows\Forumsanfragen\*\
2_mode=11
3_rules=+*\~Noch-zu-entwickeln\
3_mode=7
4_rules=+D:\Bilder\EIZO\
4_mode=5
5_rules=+C:\ProgramData\Microsoft\Windows\WER\ReportArchive\*\
5_mode=12
6_rules=+*\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Tools\CUEcards2005-portable\Datenbanken\*\
6_mode=6
7_rules=+*\Bilder\~Noch-zu-entwickeln\Fini\*\
7_mode=13
8_rules=+%COMMANDER_PATH%\
8_mode=33
9_rules=+D:\Bilder\Outlook-und-Telefon\Handy\Handy-Angelika\*\
9_mode=25
10_rules=+D:\Bilder\Outlook-und-Telefon\Handy\Handy-Karl\*\
10_mode=25
11_rules=S
11_mode=1
12_rules=S
12_mode=23
13_rules=S
13_mode=15
14_rules=%*.3ga *.669 *.a52 *.aac *.ac3 *.adt *.adts *.aif *.aifc *.aiff *.amr *.aob *.ape *.awb *.caf *.dts *.flac *.it *.kar *.m4a *.m4b *.m4p *.m5p *.mid *.mka *.mlp *.mod *.mpa *.mp1 *.mp2 *.mp3 *.mpc *.mpga *.mus *.oga *.ogg *.oma *.opus *.qcp *.ra *.rmi *.s3m *.sid *.spx *.thd *.tta *.voc *.vqf *.w64 *.wav *.wma *.wv *.xa *.xm
14_mode=20
15_rules=+D:\Daten\PRIVAT\Telefon\Handy\MyPhone Explorer für Android\MyPhoneExplorer\Migration\Forum\*\
15_mode=11
16_rules=+D:\Daten\TEST\*\
16_mode=15
17_rules=+%COMMANDER_PATH%\Plugins\wfx\
17_mode=32
18_rules=+%COMMANDER_PATH%\Tools\Everything\Forum\*\
18_mode=11
19_rules=+D:\Filme\*\
19_mode=2
[lefttabs]
0_path=D:\Daten\EXCEL\
0_options=1|0|0|0|0|2|0|
1_path=D:\Bilder\~Noch-zu-entwickeln\
1_caption=~Entwickeln
1_options=8|0|0|0|0|2|0|
2_path=D:\Bilder\
2_options=1|0|0|0|0|2|0|
3_path=D:\Daten\PRIVAT\_ANGELIKA\
3_options=1|0|0|0|0|2|0|
4_path=D:\Musik\
4_options=1|0|0|0|0|2|0|
5_path=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Tools\CUEcards2005-portable\Datenbanken\
5_caption=CUE
5_options=1|0|0|0|0|2|0|
6_path=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Tools\Everything\
6_options=1|0|0|0|0|2|0|
7_path=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\
7_options=1|0|0|0|0|2|0|
8_path=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Migration\_Forumsanfragen\
8_caption=Forum-TC
8_options=14|0|0|0|0|2|0|
9_path=D:\Daten\Programme\Windows\Forumsanfragen\
9_caption=Forum-MS
9_options=14|0|1|0|0|2|100|
10_path=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Tools\EmEditor-portabel\EmEditorProfessional_64-bit_portabel\
10_caption=EmEditor
10_options=1|0|1|0|0|2|0|
11_path=D:\Daten\EDV\Scanner\EigeneSCANS\
11_caption=SCANS
11_options=1|0|0|0|0|2|0|
activetab=0
activelocked=2
[righttabs]
0_path=I:\Bilder\
0_options=1|0|0|0|0|2|0|
1_path=D:\Bilder\Outlook-und-Telefon\Handy\Handy-Karl\DCIM\Camera\Handy-diverse-Bilder\
1_caption=Handy-Karl
1_options=1|0|0|0|0|2|0|
2_path=D:\Bilder\Outlook-und-Telefon\Handy\Handy-Angelika\DCIM\Camera\
2_caption=Handy-Angelika
2_options=1|3|1|0|0|2|0|
3_path=D:\Daten\PRIVAT\Telefon\Handy\MyPhone Explorer für Android\MyPhoneExplorer\Migration\Forum\
3_caption=Forum-MyPhone
3_options=14|0|1|0|0|2|100|
4_path=D:\Daten\EDV\Scanner\EigeneSCANS\
4_caption=SCANS
4_options=1|0|0|0|0|2|0|
5_path=D:\Daten\PRIVAT\_ANGELIKA\
5_options=1|0|0|0|0|2|0|
6_path=D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\
6_options=1|0|0|0|0|2|0|
7_path=D:\Videos\
7_options=1|0|0|0|0|2|0|
8_path=D:\Filme\
8_options=1|0|0|0|0|2|0|
9_path=\\\VirtualPanel\
9_options=27|0|0|0|0|2|0|
activetab=0
activelocked=2
Regards
Karl
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2tuska
I think I have found the reason for your problems.

It is in your View Mode setting:
You are using:

Code: Select all

[ViewModes]
0_name=<Vorgabe>
0_icon=
0_options=1|0|0||-1|-1|-1
that means you have set the Standard <Vorgabe> View Mode to show Full columns and Name sorting - so TC does what it is instructed to (applying the Standard View Mode) when starting up - unless another rule applies for the active tabs.

If you instead use this setting:

Code: Select all

[ViewModes]
0_name=<Vorgabe>
0_icon=
0_options=-1|-1|0||-1|-1|-1
then TC will use Unchanged columns view and sorting as standard - that means TC will use the settings that are stored in [left] and [right] ini sections for the current folders - unless an Automatic View Mode shift applies.

So use this as your Standard <Vorgabe> View Mode: http://madsenworld.dk/tcmd/tuska2.png

The reason why changing sortorder in you TC 8.52a works with the same wincmd.ini file, is that TC 8.52a does not support View Modes and Auto View Shift, hence no View Mode Shift takes place when starting TC.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

2petermad
Thank you very much for finding out the exact point where I got an unexpected result!

However, this point is worthy of discussion for me:
petermad wrote:.. that means you have set the Standard <Vorgabe> View Mode to show Full columns and Name sorting -
so TC does what it is instructed to (applying the Standard View Mode) when starting up -
unless another rule applies for the active tabs. ..
1. When restarting TC, I do not expect TC to apply the <default> view mode, but the last used view.
1. (With the exception of Tabs "Locked, but directory change allowed" (but this is another topic) this has always worked well so far).

2. If one had to forcibly to set "Unchanged", then in my opinion the View Mode <Default> would be obsolete.

3. The most important point for me, however, is the following: I could not finish a view mode, for example, with cm_SrcViewMode0,
3. because as <default> UNCHANGED is set!
3. A negative effect on the "Auto-run commands:" field in view mode would also be given, as eg a command: |cm_SrcViewMode0 would have no effect

I would rather plead in favour of the values in the wincmd.ini (sortorder=) to be set correctly.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I would rather plead in favour of the values in the wincmd.ini (sortorder=) to be set correctly.
When I testet with your wincmd.ini values, the sortorder= was saved correctly for the current directories in the [left] and [right] sections of wincmd.ini, when closing TC - It was merely because of your Standard View Mode setting that the saved sortorder was overridden.

Even if TC did start up with the View Mode that it was closed in, the Standard View Mode will still be applied the first time you enter a directory for which no rule applies, which will usually be most directories - so the View mode at startup wouldn't last long anyway.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

But that's exactly the problem, because I can not set two fields to "Unchanged" in View Mode <Default>
and otherwise the sort will not be preserved.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

Now I have found a way with which the same behavior can be produced in TC 9.12 as in TC 8.52a.

1.   Configure custom columns... Standard View (Default)
1.1 [=tc.size]
1.2 [=tc.writedate]
1.3 [=tc.attributestr]
1.4 Adjust Tabs to window width: Ticked
1.5 Horizontal scrollbar: Ticked
1.6 Configuration - Save Position

2.   View Mode <Default>
2.1 Colums View: 1 Standard View (Default) (choosen with dropdown-arrow)
2.2 Sortorder: Unchanged

After that the sorting in TC 9.12 remains after a restart.

Unfortunately, this solution still has the disadvantage that, for example,
in a view mode with descending sorting after leaving the view mode,
the descending sorting (undesirable) is maintained.
Unfortunately, this "solution" is impractical.

I stay with this statement:
I would rather plead in favour of the values in the wincmd.ini (sortorder=) to be set correctly.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2tuska
You can also do this:
1. Make a view mode like this: http://madsenworld.dk/tcmd/viewmode1.png
2. And an Auto Swithc rule like this: http://madsenworld.dk/tcmd/viewmode2.png
3. Make sure that Switch rule is the last one.

Then the current sort order will be used when you restart TC, even if you have your <Default> View Mode set to Name sorting.

If you want the current sort order to be preserved when you switch into Network Neighbourhood, Search result or FTP then set up the same View (Folder) for V, S and F, or set up individual Views for these, as long af you set the Sort order to Unchanged for these views as well.

--------------------

I remembered that the View Mode behaviour on TC startup was discusssed during the beta-test, and I went back to test the beta versions under these conditions:
1. <Default> View Mode set to Name sorting.
2. Only using directories for which no View Mode Switch rule applies.
3. Savepanels=1

Before TC9.0b4 the sort order behaves like this when restarting TC:
1. Active tab at startup when unlocked: Reverts to the <Default> view sorting.
2. Active tab at startup when locked: Keeps last sorting.
3. Active tab at startup when locked, but dir changes allowed: Keeps last sorting.
4. Inactive tab at startup when unlocked: Keeps last sorting.
5. Inactive tab at startup when locked: Keeps last sorting.
6. Inactive tab at startup when locked, but dir changes allowed: Keeps last sorting, until the tab is opened a second time - then it reverts to the <Default> view sorting.

After TC 9.0b3 but before TC9.0rc6 the sort order behaves like this when restarting TC:
1. Active tab at startup when unlocked: Reverts to the <Default> view sorting.
2. Active tab at startup when locked: Keeps last sorting.
3. Active tab at startup when locked, but dir changes allowed: Keeps last sorting.
4. Inactive tab at startup when unlocked: Reverts to the <Default> view sorting.
5. Inactive tab at startup when locked: Keeps last sorting.
5. Inactive tab at startup when locked, but dir changes allowed: Reverts to the <Default> view sorting.

This change is probably due to this:
28.06.16 Fixed: Changed handling of auto view-mode switching: Always determine view mode when switching to a new tab for the first time after it has been loaded (32/64)
As from TC 9.0rc6 the sort order behaves like this when restarting TC:
1. Active tab at startup when unlocked: Reverts to the <Default> view sorting.
2. Active tab at startup when locked: Keeps last sorting.
3. Active tab at startup when locked, but dir changes allowed: Reverts to the <Default> view sorting.
4. Inactive tab at startup when unlocked: Reverts to the <Default> view sorting.
5. Inactive tab at startup when locked: Keeps last sorting.
6. Inactive tab at startup when locked, but dir changes allowed: Reverts to the <Default> view sorting.

The change in behaviour in TC 9.0rc6 for "3. active tab at startup when locked, but dir changes allowed" is not documented in history.txt unless this fix caused it:
08.11.16 Fixed: Automatically changed view mode was lost on tab with "locked but dir changes allowed" after 2 or more directory changes and restarting TC (32/64)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

petermad wrote:2tuska
You can also do this:
1. Make a view mode like this: http://madsenworld.dk/tcmd/viewmode1.png
2. And an Auto Swithc rule like this: http://madsenworld.dk/tcmd/viewmode2.png
3. Make sure that Switch rule is the last one.

Then the current sort order will be used when you restart TC, even if you have your <Default> View Mode set to Name sorting.

If you want the current sort order to be preserved when you switch into Network Neighbourhood, Search result or FTP then set up the same View (Folder) for V, S and F, or set up individual Views for these, as long af you set the Sort order to Unchanged for these views as well.
2petermad
Ingenious solution!
Thank you also for your efforts and excellent explanations!

I will let me frame the solution with regard to receiving a set sorting after TC restart,
because a normal user like me needs many hours and then still does not have the right solution. :roll:

Regards
Karl

-----------------------------
EDIT:
NO, this too can not be the final solution, because after leaving a view mode, there are problems ...
-----------------------------
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

NO, this too can not be the final solution, because after leaving a view mode, there are problems
What kind of problems?

Maybe it is because you have a some View Modes where Sort order is blank in the configuration dialog - that should not be possible.

It is these 3:

Code: Select all

10_name=Description_Beschreibungen
10_icon=
10_commands=cm_100percent|cm_50percent
10_options=13|100|0|1,3|-1|-1|-1

Code: Select all

11_name=ERLEDIGTE_OFFENE
11_icon=
11_options=14|100|1|1|-1|-1|-1

Code: Select all

15_name=Fotos_Querformat
15_icon=
15_commands=|cm_SrcViewMode0,em_Filter-alle-löschen
15_options=22|103|1||-1|-1|-1
The sort order for these as you can see are 100, 100 and 103 !!
Correct values that can be used for sort order are -1, 0, 1, 2, 3 or 4.

So somehow your wincmd.ini has been written wrong.
Try and fix these 3 View Modes, and see if that helps...
Last edited by petermad on 2018-02-21, 00:53 UTC, edited 5 times in total.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply