TC8 / Win7 / UNC / Freeze until Tree View is refreshed

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
tiny
Junior Member
Junior Member
Posts: 16
Joined: 2006-01-03, 21:59 UTC

TC8 / Win7 / UNC / Freeze until Tree View is refreshed

Post by *tiny »

Hi,

I'm useing Totalcommander 8 with Win7 x64 SP1. I'm working with Treeview in both windows enabled. If I connect to an UNC share everthing is looking fine until I'm trying to copy a file for example.
The system freezes for 15 to 20 seconds until the tree view is refreshed.

If I'm going to repeat the procedure with tree view disabled there will be no freeze.

So here is my question. Is it possible to update the tree view on UNC shares in background without affecting foreground work like copying files?

Tank you.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Could you write step by step what exactly you are doing? The tree is actually updated in its own background thread, which shouldn't hang the foreground process (except if you try to do something with the tree while it's updated).
Author of Total Commander
https://www.ghisler.com
tiny
Junior Member
Junior Member
Posts: 16
Joined: 2006-01-03, 21:59 UTC

Post by *tiny »

Ok, I'm trying to explain again.

I start with TC with C:\ on the left and C:\ on the right. Tree view is enabled on both file list views.
The next step is to highlight the path on the right an insert an UNC path \\Server\Share.

At this point the tree view on the right is white (empty). I'm able to scroll the files in the list view.
But if I'm going to select a file and press F5 for example the TC process shows not responding. After a system freeze of 15 to 20 seconds tree view has refreshed and copy dialog shows up as expected. Now everything works fine.

If I start the procedure with tree view disabled now freeze occour. The copy dialog shoes up immediately.

I hope I was able to describe the actions and you are able to reproduce the issue.

Thank you.
User avatar
petermad
Power Member
Power Member
Posts: 16137
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm the issue.

Opening and navigating the separate tree can be extremely slow when accessing network shares between a Windows 7 and a Windows XP computer, but almost instantaneous when navigating a share between two Windows 7 computers.

It applies to both separate tree and non-separate tree, although the non-separate tree seems to work a little faster.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
tiny
Junior Member
Junior Member
Posts: 16
Joined: 2006-01-03, 21:59 UTC

Post by *tiny »

Hi,

I see the same issue between Win7 machines and between Win7, Win200x Servers.


Best regards
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I cannot do anything about the slowness - it's the Windows functions (IShellFolder - EnumObjects) which are that slow. What you should do is try to find the source of the slowness.

For example, it happens when you have multiple (real or virtual) network cards, e.g. from Vmware or VirtualBox. If you configure all connections to shared networking, you not need them, so you can disable them. Another reason is when the TCP/IP stack is bound both to the DSL networking adapter and the real network card. Windows then searches for a long time for connections on the connection where nothing is connected.
Author of Total Commander
https://www.ghisler.com
tiny
Junior Member
Junior Member
Posts: 16
Joined: 2006-01-03, 21:59 UTC

Post by *tiny »

Hi,

the main reason isn't the slow refresh. But the freeze is a problem.
Is it possible to disable the tree refresh for network and unc paths?

The test machines are both hardware no VMs. They both with a single nic.


Thank you.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Is it possible to disable the tree refresh for network and unc paths?
Currently not. I have tried to reproduce your problem, but TC didn't freeze while the tree was refreshing - not even when copying something with F5. Can you give me more details when exactly it freezes?
Author of Total Commander
https://www.ghisler.com
tiny
Junior Member
Junior Member
Posts: 16
Joined: 2006-01-03, 21:59 UTC

Post by *tiny »

Hi,

the freeze occours after accessing the UNC share, after select a file and after F5 is pressed and before the copy dialog appears.


Best regards
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I will try to find out in the debugger what happens between the F5 and when the dialog appears.
Author of Total Commander
https://www.ghisler.com
tiny
Junior Member
Junior Member
Posts: 16
Joined: 2006-01-03, 21:59 UTC

Post by *tiny »

Thank you.

Maybe it's possible that the tree refresh could get disabled for Network Shares and UNC paths.
tiny
Junior Member
Junior Member
Posts: 16
Joined: 2006-01-03, 21:59 UTC

Post by *tiny »

Are there any updates about that problem?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, unfortunately not - since multiple threads are involved, it's very hard to debug.
Author of Total Commander
https://www.ghisler.com
HerrBert
Junior Member
Junior Member
Posts: 4
Joined: 2016-02-22, 05:42 UTC

Post by *HerrBert »

Schade, ich habe dasselbe Problem.
Ich arbeite seit neuesten von zu Hause aus.
Ich benutze permanent Verzeichnisse auf Servern Weltweit per UNC.

Im Moment habe ich TC offen, links UNC in America rechts UNC in Deutschland.
Wenn ich jetzt hineinklicke passiert nichts für rund 50sek (Drehkringel und not responding), klicke ich dann ins andere Fenster wieder Freeze für lange Zeit.
Arbeiten ist da nicht möglich.
Als Workaround habe ich mir Q-Dir installiert damit gibt es keine Probleme.

Das soll kein Vorwurf oder sowas sein, ich benutze TC seit anbegin täglich und permanent und könnte auch garnicht mehr ohne.
Danke für TC und deinen Support
Post Reply