Slow file listing when "color by file types" is se

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

Post Reply
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

Slow file listing when "color by file types" is se

Post by *mastabog »

Hi,

(apologies if this has already been posted)

I have been using the 7.5 beta for a while and this is definitely a buggy behaviour that was not there in previous versions. If you use the "define color by file type" in Config > Display > Color then the file listing becomes slow ... not painfully slow, but visibly slow compared to previous versions ... folders with many files (when using "Brief" listing on large monitors then it is quite irritating).

I have colors defined for audio files, video files, office documents etc and if I switch that off then file listing is quick, as it was in 7.0 and beyond.

Hope this gets fixed.

Cheers
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Hi,
Exactly what filters do you use? (Paste the relevant sections from wincmd.ini, please.)
What improvements can you observe after removing each filter one by one?

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

Post by *mastabog »

I just edited my search patterns for the file types that I defined for using different colors and speed is now back! What changed for almost all searches is that I unchecked the Advanced > Attributes option .. previously it was selected for most searches (the Directory attribute was unchecked). Below are the new search options (speed ok) and old search options (slow listing):

New searches:

Code: Select all

Executables_SearchFor=*.exe;*.bat;*.cmd
Executables_SearchIn=
Executables_SearchText=
Executables_SearchFlags=0|000002000020|||||||||0000|
Movies_SearchFor=*.mpg;*.avi;*.rm;*.mpeg;*.mov;*.vob;*.wmv;*.asf;*.mkv;*.mp4;*.ogm;*.divx;*.m4v
Movies_SearchIn=
Movies_SearchText=
Movies_SearchFlags=0|000002000020|||||||||0000|
Archives_SearchFor=\.(zip|r[a0-9][r0-9]|a[c0-9][e0-9]|gz|tar|bz2|7z)$
Archives_SearchIn=
Archives_SearchText=
Archives_SearchFlags=0|000002001020|||||||||0000|
Directory in PROGs/NETs_SearchFor=
Directory in PROGs/NETs_SearchIn=H:\down\PROGs\;H:\down\NETs
Directory in PROGs/NETs_SearchText=
Directory in PROGs/NETs_SearchFlags=0|0000000000||||||||00001|0000
Audio_SearchFor=*.mp3;*.wav;*.cda*.mid;*.wma;*.s3m;*.ape;*.xm
Audio_SearchIn=
Audio_SearchText=
Audio_SearchFlags=0|000002000020|||||||||0000|
Web_SearchFor=\.(php.?|.?htm.?|asp|jsp|xml|xsl|xsd)$
Web_SearchIn=
Web_SearchText=
Web_SearchFlags=0|000002001020|||||||||0000|
Temp_SearchFor=[.\-](~.*|bak|tmp|temp|safe|old)$|^\.|^te?mp$|^~|~$
Temp_SearchIn=
Temp_SearchText=
Temp_SearchFlags=0|000002001020|||||||||0000|
Images_SearchFor=*.gif;*.jpeg;*.jpg;*.png;*.psd;*.bmp;*.ico;*.tif;*.emf;*.eps;*.wmf;*.svg
Images_SearchIn=
Images_SearchText=
Images_SearchFlags=0|000002000020|||||||||0000|
Documents_SearchFor=*.txt;*.nfo;*.diz;*.me;*.rtf;*.ion;*.pdf;*.doc
Documents_SearchIn=
Documents_SearchText=
Documents_SearchFlags=0|000002000020|||||||||0000|
Old searches (causes slow file listing)

Code: Select all

Executables_SearchFor=*.exe;*.bat;*.cmd
Executables_SearchIn=
Executables_SearchText=
Executables_SearchFlags=0|000002000020||||||||22220|0000
Movies_SearchFor=*.mpg;*.avi;*.rm;*.mpeg;*.mov;*.vob;*.wmv;*.asf;*.mkv;*.mp4;*.ogm;*.divx
Movies_SearchIn=
Movies_SearchText=
Movies_SearchFlags=0|000002000020||||||||22220|0000|
Archives_SearchFor=\.(zip|rar|r[0-9]{2,}|ace|a[0-9]{2,}|gz|tar|bz2|7z)$
Archives_SearchIn=
Archives_SearchText=
Archives_SearchFlags=0|000002001020||||||||22220|0000
Directory in PROGs/NETs_SearchFor=
Directory in PROGs/NETs_SearchIn=H:\down\PROGs\;H:\down\NETs
Directory in PROGs/NETs_SearchText=
Directory in PROGs/NETs_SearchFlags=0|0000000000||||||||00001|0000
Audio_SearchFor=*.mp3;*.wav;*.cda*.mid;*.wma;*.s3m;*.ape;*.xm
Audio_SearchIn=
Audio_SearchText=
Audio_SearchFlags=0|000002000020||||||||22220|0000
Web_SearchFor=\.(php.?|.?htm.?|asp|jsp|xml|xsl|xsd)$
Web_SearchIn=
Web_SearchText=
Web_SearchFlags=0|000002001020||||||||22220|0000
Temp_SearchFor=[.\-](~.*|bak|tmp|temp|safe|old)$|^\.|^te?mp$|^~|~$
Temp_SearchIn=
Temp_SearchText=
Temp_SearchFlags=0|000002001020|||||||||0000|
Images_SearchFor=\.(gif|jpe?g|png|psd|bmp|ico|tif|emf|eps|wmf|svg)$
Images_SearchIn=
Images_SearchText=
Images_SearchFlags=0|000002001020||||||||22220|0000|
Documents_SearchFor=*.txt;*.nfo;*.diz;*.me;*.rtf;*.ion;*.pdf;*.doc
Documents_SearchIn=
Documents_SearchText=
Documents_SearchFlags=0|000002001020||||||||22220|0000
Cheers
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will test with your settings, thanks.
Author of Total Commander
https://www.ghisler.com
Post Reply