7.5PB4: When typing fast, quick filter can loose characters
Moderators: Hacker, petermad, Stefan2, white
7.5PB4: When typing fast, quick filter can loose characters
I have a directory with 7741 files in subfolders. I just wanted to search for some files with quick filter in broad view and noticed a problem:
With such number of files, filtering takes much longer than typing. I can type 10 characters, wait, wait, wait...after a few seconds TC shows some 3 (it can be another number too) of them, the first is correct, but then TC skips a few, takes another ones, skips something again, takes another...
Also, I have a proposal: If I press backspace a few times, TC calls the filter for each button press for each file. If I press another backspace before TC finished processing the previous one, it could skip it and start processing another.
Caching results would be helpful too.
With such number of files, filtering takes much longer than typing. I can type 10 characters, wait, wait, wait...after a few seconds TC shows some 3 (it can be another number too) of them, the first is correct, but then TC skips a few, takes another ones, skips something again, takes another...
Also, I have a proposal: If I press backspace a few times, TC calls the filter for each button press for each file. If I press another backspace before TC finished processing the previous one, it could skip it and start processing another.
Caching results would be helpful too.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2m^2
Completely agree.
I think some advices could be taken from here:
http://www.codeproject.com/KB/WPF/SnappyFiltering.aspx
Completely agree.
I think some advices could be taken from here:
http://www.codeproject.com/KB/WPF/SnappyFiltering.aspx
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, Quick Filter has to work like this because it stops accepting characters if there would be no match.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I must agree with the bug report.
Quick filter has become very laggy and slow with beta4!
i got a folder with over 9000 files and beta3 worked really fast and i didint even notice any CPU load.
But with beta4 it has become really slow, sometimes misses keys if you are too fast and CPU hits 100% (50% on dual core).
Especially if you have typed something like
*test*2009*dat
in the quickfilter
and then press and HOLD backspace it takes ages to delete all the characters in the quickfilter (100% cpu again).
No problem here in beta3 either.
Quick filter has become very laggy and slow with beta4!
i got a folder with over 9000 files and beta3 worked really fast and i didint even notice any CPU load.
But with beta4 it has become really slow, sometimes misses keys if you are too fast and CPU hits 100% (50% on dual core).
Especially if you have typed something like
*test*2009*dat
in the quickfilter
and then press and HOLD backspace it takes ages to delete all the characters in the quickfilter (100% cpu again).
No problem here in beta3 either.
Confirmed!za222 wrote:I must agree with the bug report.
Quick filter has become very laggy and slow with beta4!
i got a folder with over 9000 files and beta3 worked really fast and i didint even notice any CPU load.
But with beta4 it has become really slow, sometimes misses keys if you are too fast and CPU hits 100% (50% on dual core).
Especially if you have typed something like
*test*2009*dat
in the quickfilter
and then press and HOLD backspace it takes ages to delete all the characters in the quickfilter (100% cpu again).
No problem here in beta3 either.
Actually I didn't use the previous betas with many files, but now I tried and they not only seem to work correctly, but are way faster too.
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have checked now why it has become so slow: It's an error in the loading of the external search dll! I will fix that in the next beta. TC tries to load the dll again and again on each keypress...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: