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

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mosunovpa
Junior Member
Junior Member
Posts: 15
Joined: 2019-06-17, 11:05 UTC

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

Post by *mosunovpa »

Hello all.
There is lag when i open child folders pressing expand button in separate tree. TC 10.51.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post 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.
Author of Total Commander
https://www.ghisler.com
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

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

Post by *hi5 »

Can't you use Everything here? (it seems "Use "Everything" for tree function" is already being used).
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
mosunovpa
Junior Member
Junior Member
Posts: 15
Joined: 2019-06-17, 11:05 UTC

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

Post 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.
mosunovpa
Junior Member
Junior Member
Posts: 15
Joined: 2019-06-17, 11:05 UTC

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

Post 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?
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

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

Post 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.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

Calling "Everything" for each subfolder wouldn't be faster than looking in each subfolder with FindFirstFile.
Author of Total Commander
https://www.ghisler.com
Post Reply