[SOLVED] - [11.02RC4] Colour assignment only works partially

English support forum

Moderators: Hacker, petermad, Stefan2, white

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

[SOLVED] - [11.02RC4] Colour assignment only works partially

Post by *tuska »

Example:
Configuration > Options... > Color > [x] Define colors by file type... > >Leere Verzeichnisse (empty folders) >
Plugins
Plugin: dirsizecalc | Property: Contains Files | OP: = | Value: No --> TC 11.02RC4 x86 --> OK!

Configuration > Options... > Color > [x] Define colors by file type... > >Leere Verzeichnisse > Edit... > Define...
Plugin: None! > click on tab "Advanced", then an tab "Plugins":
Plugin: tc | Property: fullname | OP: contains | Value: blank --> TC 11.02RC4 x64 --> WRONG!
TC_clean_x64.ini

Code: Select all

[Configuration]
UseNewDefFont=1
SetEncoding=äö.do.not.remove
firstmnu=2618
FirstTimeIconLib=0
FirstTime=0
SeparateTree=0
PanelsVertical=0
UseEverything=0
LastSearchOptions=0
test=219
[ButtonbarCache]
IconDll_default.bar=
IconDll_vertical.bar=
[FileSystemPlugins64]
$checksum$=3014672
[left]
path=d:\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
activepanelcolordark=-1
activepanelcolordark2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[right]
path=c:\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
activepanelcolordark=-1
activepanelcolordark2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[ContentPlugins64]
$checksum$=3014672
[searches]
empty_folders_SearchFor=
empty_folders_SearchIn=
empty_folders_SearchText=
empty_folders_SearchFlags=0|002002000020|||||||||0000|||
empty_folders_plugin=tc.fullname contains ""
[1920x1200 (10x20)]
SearchX=622
SearchY=433
SearchDX=729
SearchDY=333
SearchMax=0
[Colors]
ColorFilter1=>empty_folders
ColorFilter1Color=8421440
ColorFilter1ColorDark=15527148,8421440
[RightHistory]
0=c:\
[LeftHistory]
0=d:\	#0
1=d:\__a\
2=d:\	#01,__a
3=d:\___TMP___\	#0
4=d:\	#00,___TMP___
5=d:\__a\	#0
6=c:\
The colouring of TC file comments (Ctrl+Z) still works in TC 11.02 x64 & x86.

It is noticeable that the German umlauts (ä ö ü) are not displayed in the saved names:

Code: Select all

>Ge ndert-innerhalb-der-letzten-10-Minuten
>Pfadl nge_gr  er-259-Zeichen
>Verschl sselt_encrypted
I could detect colour errors in TC 11.02RC4 x64 and x86.


Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.2506) | TC 11.02RC4 x64/x86

EDIT: Added [SOLVED]
Last edited by tuska on 2023-10-27, 17:41 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.02RC4] Colour assignment only works partially

Post by *ghisler(Author) »

Plugin: tc | Property: fullname | OP: contains | Value: blank --> TC 11.02RC4 x64 --> WRONG!
Sorry, I don't understand what you are trying to achieve. Do you leave the value field blank, or look for the word "blank"? The former will not work.
It is noticeable that the German umlauts (ä ö ü) are not displayed in the saved names:
Do you mean in saved searches? Or in "Colors by file types"?
I cannot reproduce that, accents and umlauts are shown just fine there.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: [11.02RC4] Colour assignment only works partially

Post by *tuska »

2ghisler(Author)
The TC_clean_x64.ini is not an ideal example in this case because it only shows the wrong final result for TC 11.02RC4.
  1. Saved search: Leere Verzeichnisse (= empty directories)
    Plugin: dirsizecalc | Property: Contains Files | OP: = | Value: No
  2. Search in separate process... Alt+Shift+F7
  3. Tab "Load/Save" -> click on "Leere Verzeichnisse"
  4. Status bar shows the following:
    "*.*", plugins:"dirsizecalc.Contains Files" = No
  5. Click on the button "Load"
  6. Click on tab "Plugins"
  7. On the "Plugins" tab, I now see the following in TC 11.02RC4 x64:
    Plugin: tc | Property: fullname | OP: contains | Value: blank
    instead of:
    Plugin: dirsizecalc | Property: Contains Files | OP: = | Value: No
  8. The saved search was NOT loaded properly into TC 11.02RC4 x64.
    This had an effect on the representation of the colours, i.e. in this case the colour was NOT applied to "empty directories".
When I run this example with TC 11.02RC4 x86, the saved search is loaded properly.

I am sending you my wincmd.ini and a few pictures.
EDIT1: Done. 11:11h

EDIT2:
In addition, in a 'Custom Columns view', the German umlauts (ä,ö,ü,Ä,Ö,Ü) are no longer displayed
in the column headings and titles in the context menu in TC 11.02RC4 x64 and x86.

I don't know if it might be related to this, but a Windows update was carried out beforehand:
Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.2506)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.02RC4] Colour assignment only works partially

Post by *ghisler(Author) »

I have tried your steps 1..8, but it loads just fine also in x64 Alt+Shift+F7. It sounds like the dirsizecalc plugin can't be found in the 64-bit version. Do you see it in the "Plugins" page when you open the dropdown list?

Regarding the accents, please save the ini as UTF-16 or ANSI. Windows does not support UTF-8 ini files. It's possible that this is also breaking the loading of the dirsizecalc plugin, so please re-test this too.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: [11.02RC4] Colour assignment only works partially

Post by *tuska »

2ghisler(Author)
ghisler(Author) wrote: 2023-10-27, 10:16 UTC It sounds like the dirsizecalc plugin can't be found in the 64-bit version.
Do you see it in the "Plugins" page when you open the dropdown list?
No. Not in TC 11.02RC4 x64.
I am now only offered these two plugins to choose from: tc, emptywdx on Plugins tab.

TC 11.02RC4 x86
Configuration > Options... > Color > Define colors by file type... > Add... > Define... > tab "Plugins"
click on "Plugin:" dropdown brings me ALL available plugins to choose from, i.e. also "dirsizecalc".
ghisler(Author) wrote: 2023-10-27, 10:16 UTC Regarding the accents, please save the ini as UTF-16 or ANSI. Windows does not support UTF-8 ini files.
It's possible that this is also breaking the loading of the dirsizecalc plugin, so please re-test this too.
Thanks for the tip!
I suspect that caused my current setting in EmEditor (UTF-8 for .ini and .txt files).
Not sure though, as there was a mix up in .ini files: UTF-8 and ANSI)).

I have now converted all .ini files that were still encoded in UTF-8 to ANSI.


Colours
I made changes to two saved searches today.

Case 1: Saved search: Pfadlänge_größer-259-Zeichen (path length_greater-259-characters)
"*.*", plugins: "tc.path length" > 259 | "*.*", plugins: "filename_chrcount.Pathname (ChrCount)" > 259
Probably Norton360 removed the plugin "wdx_FilenameChrCount_2.02_.zip" from a search query at that time.
I resaved the search with:
"*.*", plugins: "tc.path length" > 259

Case 2: Saved search: Geändert-innerhalb-der-letzten-10-Minuten (changed-within-last-10-minutes)
I recently changed a search query and forgot to uncheck "Search in plugins".
I resaved the search ("*.*" ,<10m).

After that, the colouring worked completely in TC 11.02RC4 x64 and x86 again!

I'm sorry for the inconvenience.
User avatar
petermad
Power Member
Power Member
Posts: 15999
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [SOLVED] - [11.02RC4] Colour assignment only works partially

Post by *petermad »

Moderator message from: petermad » 2023-10-28, 19:04 UTC

Moved to "Total Commander (English) from "TC11.x bug reports (English)"
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
Post Reply