Synchronize Treeview Issues in v1.4 beta & dev

Found a bug or something that needs fixing?
Post Reply
crispyoutside
Posts: 4
Joined: Fri Jun 26, 2020 6:35 am

Synchronize Treeview Issues in v1.4 beta & dev

Post by crispyoutside »

I have been experimenting with the beta code and have found an issue. If I open multiple tabs and have "Synchronize Treeview" enabled only the first (left most) tab synchronizes.

I'm running Win10 Pro - 2004 build 19041.329 x64.
I've reproduced the problem using both 32 and 64 bit versions of Explorer++ and two separate builds 1.4.0.1637 beta and 1.4.0.1657 dev

If I reinstall the current release 1.3.5, it works as expected (synchronizing each tab as selected).

Thanks for your hard work.

Neil

crispyoutside
Posts: 4
Joined: Fri Jun 26, 2020 6:35 am

Re: Synchronize Treeview Issues in v1.4 beta & dev

Post by crispyoutside »

Additional note: I am reproducing the issue linked below when I revert to v 1.3.5 (and I obtain the issue on mapped drives, not just UNC paths).

viewtopic.php?f=5&t=1943&p=5055&hilit=s ... view#p5055
Last edited by crispyoutside on Fri Jun 26, 2020 6:55 am, edited 1 time in total.

crispyoutside
Posts: 4
Joined: Fri Jun 26, 2020 6:35 am

Re: Synchronize Treeview Issues in v1.4 beta & dev

Post by crispyoutside »

So I've examined the code base enough to see that this is not a bug, but rather the "Synchronize Treeview" function is explicitly disabled for UNC and mapped paths. In connection with this disabling, the TreeViewHandler.cpp function Explorerplusplus::UpdateTreeViewSelection() contains the following note:
/* To improve performance, do not automatically sync the
treeview with network or UNC paths. */
So I have two new questions:
1) Is this a continuing issue or is it historical (and no one has revisited it recently to see if it still matters)?
2) If I were to revisit it, is there additional information somewhere to offer me some perspective on the nature of the issue (beyond the nebulous "performance" rationale)?

JMHaro
Posts: 3
Joined: Wed Jul 29, 2020 11:21 pm

Re: Synchronize Treeview Issues in v1.4 beta & dev

Post by JMHaro »

I know this discussion was a little old, but this has really been bugging me a lot. This is the only main issue I'm having with Explorer++ is the none syncing (just about all my work is done on mapped drives). Does anyone know if this is just the beta version issue? I haven't tried going back to the actual release version yet.

David Erceg
Site Admin
Posts: 905
Joined: Sat Apr 18, 2009 1:46 am

Re: Synchronize Treeview Issues in v1.4 beta & dev

Post by David Erceg »

Regarding performance, the issue is that to show a folder within the treeview, you have to enumerate each of its parent folders, something that can take a significant amount of time. For example, simply enumerating the Network folder on my PC takes about 30 seconds, even though there are no other PCs on the network.

That means that to select a UNC folder that's ultimately contained within the Network folder, you would have to wait for the Network folder to be enumerated, which might not be a quick process. Since all that work is done on the main thread, the entire application will hang during that time, which is particularly noticeable on startup.

Mapped drives might be a different story, since they would be contained within This PC instead.

Post Reply