Page 1 of 1

There is lag when i open child folders pressing expand button in separate tree.

Posted: 2023-06-27, 11:07 UTC
by mosunovpa
Hello all.
There is lag when i open child folders pressing expand button in separate tree. TC 10.51.

Re: There is lag when i open child folders pressing expand button in separate tree.

Posted: 2023-06-27, 17:50 UTC
by ghisler(Author)
Total Commander has to visit all the expanded subdirectories to check whether they have subdirectories themselves too (for the "+" button). This can take a while when there are a lot.

Re: There is lag when i open child folders pressing expand button in separate tree.

Posted: 2023-06-28, 21:44 UTC
by hi5
Can't you use Everything here? (it seems "Use "Everything" for tree function" is already being used).

Re: There is lag when i open child folders pressing expand button in separate tree.

Posted: 2023-06-29, 07:24 UTC
by mosunovpa
ghisler(Author) wrote: 2023-06-27, 17:50 UTC Total Commander has to visit all the expanded subdirectories to check whether they have subdirectories themselves too (for the "+" button). This can take a while when there are a lot.
Thank you for your answer. I think there is a place for optimization. Windows explorer works without any lags.

Re: There is lag when i open child folders pressing expand button in separate tree.

Posted: 2023-06-29, 07:25 UTC
by mosunovpa
hi5 wrote: 2023-06-28, 21:44 UTC Can't you use Everything here? (it seems "Use "Everything" for tree function" is already being used).
Excuse me, what do you mean?

Re: There is lag when i open child folders pressing expand button in separate tree.

Posted: 2023-07-01, 17:11 UTC
by hi5
I should have added @ghisler as I think TC can already read the tree information from everything so there shouldn't be a lag in that case.

Re: There is lag when i open child folders pressing expand button in separate tree.

Posted: 2023-07-02, 10:39 UTC
by ghisler(Author)
Calling "Everything" for each subfolder wouldn't be faster than looking in each subfolder with FindFirstFile.