[b10] Color filter is broken

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

[b10] Color filter is broken

Post by *Valentino »

Color filter is broken in beta 10 (both 32 and 64 bit).
I have different foreground color configured for folders but now it's drawn the same color as files.
Maybe it's caused by the fix "15.11.11 Fixed: Numerical values from wincmd.ini..."

Portion of my config file:

Code: Select all

[Configuration]
RedirectSection=0
AlternateUserIni=MyHistories.ini

[Colors]
RedirectSection=0
InverseCursor=0
InverseSelection=0
BackColor=6447667
;BackColor=6381914
ForeColor=65280
MarkColor=16777215
CursorColor=16777215
CursorText=-1
ColorFilter1=>Folders
ColorFilter1Color=10551040
ColorFilter2=>XML & Config Files
ColorFilter2Color=16776960
ColorFilter3=>Executables
ColorFilter3Color=65408
;ColorFilter4=>Files In Future
;ColorFilter4Color=255
ThumbnailFrame=-1

[Searches]
RedirectSection=0
Folders_SearchFlags=0|00000200||||||||22221|0000
Files In Future_SearchFlags=0|00000200|||-1|-1|||||0000
Files In Future2_SearchFlags=0|000002000020|||-2|-1|||||0000|
Executables_SearchFor=*.exe *.bat *.cmd *.com *.ps1
Executables_SearchFlags=0|000002000020|||||||||0000|
XML & Config Files_SearchFor=*.xml *.config
XML & Config Files_SearchFlags=0|000002000020|||||||||0000|
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Confirm with the INI file specified.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Valentino, please check your search templates.

I don't see Folders template in TC search template list - it describes why TC marks them using default color (color filter just doesn't work here).

Also I don't see a lot of your other search templates (you don't have *_SearchFor entries for them in INI, but only *_SearchFlags which is not enough). Even if you leave field 'Search for:' empty, you still need this INI entry for template:

Code: Select all

Folders_SearchFor=
Folders_SearchFlags=0|000002000020||||||||22221|0000|
I think *_SearchFor parameters are mandatory for TC, it uses them to build templates list.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48107
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

MVV is right, the missing Folders_SearchFor line is the problem. I wonder why this works in TC 7.56a, it shouldn't according to my checks...
Author of Total Commander
https://www.ghisler.com
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

Thanks, I will add missing lines. But it worked in beta 9 and earlier. I don't remember if I removed missing lines or TC "optimized" it at some time...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48107
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No you didn't, it was a change on my side which had this side effect. I have already corrected it for beta 11.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Confirm the fix in β11.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

Confirm too.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48107
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply