TC8 / Win7 / UNC / Freeze until Tree View is refreshed
Moderators: Hacker, petermad, Stefan2, white
TC8 / Win7 / UNC / Freeze until Tree View is refreshed
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.
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.
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
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.
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.
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.
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
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
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
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
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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?Is it possible to disable the tree refresh for network and unc paths?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, unfortunately not - since multiple threads are involved, it's very hard to debug.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
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
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