not responding on broken network connections

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
SailorMax
Member
Member
Posts: 121
Joined: 2007-03-15, 15:11 UTC

not responding on broken network connections

Post by *SailorMax »

Currently Total Commander can handle long reading of directories. It output popup with "Cancel" button.

But if connection is broken or something like that, we can't cancel process. We have "Not responding", while Total Commander do not get response from server...
( using mounted network disk as drive Z: on WinXP)

Can you fix this?

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

Post by *ghisler(Author) »

I cannot reproduce this problem. Can you give me step by step instructions to reproduce it, please, e.g.
1. Switch to z:
2. Do this and that
3. Turn off the other PC
4. Do that and this

Thanks!
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

I sometimes encounter it too. Mostly when I'm connected to share on some local virtual machine, which I then turn off. Few times it happened also when VPN connection to other machine broke, but it's rare.

When I tried it now on purpose, I succeeded two times from six tries with this:

1) Start virtual machine
2) Connect to VM's share from host computer
3) Switch away from TC
4) Shutdown virtual machine
5) Switch back to TC

TC will try to re-read the panel and with some luck you'll get "not responding" instead of connecting dialog. After short while the normal "drive not found" dialog pops up.

Pulling the ethernet cable from some other physical machine would probably work too, but I don't have any now, with which I could do that.
SailorMax
Member
Member
Posts: 121
Joined: 2007-03-15, 15:11 UTC

Post by *SailorMax »

In my case it was bad connection with lost packets. "not responding" happens when I trying to read any directory from remote disk. Total Commander show subdirectories and files very slowly, one by one, with "not responding" between each.
But if connection is good (but just slow), TC show dialog window with possibility to cancel this operation.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I have to move this to "will not be changed". The problem is that some Windows functions like SetCurrentDirectory hang when called with a LOCAL harddisk when a previous call with a remote drive (even from another thread) is still hanging. This prevents TC from switching to a local drive in some cases. There is nothing I can do about it, sorry.
Author of Total Commander
https://www.ghisler.com
Post Reply