locks up when network drive crashes
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
When you bring up the open-dialog it has filled in the
most recent paths. For me, these paths are on network
drives. If everything is working, you bring up WinMerge
and you click the button to open the open-dialog. If
the network drive is not responding, then when you
start WinMerge it shows an outline of the open-dialog
and locks up (ie. stops responding). If there is a
timeout then it is much longer than Windows Explorer's
timeout.
I am using version 2.4.6. I have the option
"Automatically verify paths in open-dialog" selected.
Logged In: YES
user_id=631874
Interesting. Yet another incarnation of this "Windows
doesn't respond" problem.. It happens with all "slow paths"
like memory cards too.
Problem is we aren't doing any own tricks, just trying to
ask file's info from system (using stat()). So I'm not sure
what we could do for this problem. Disabling the automatic
path verify option is there for a reason. :)
Logged In: YES
user_id=631874
I don't know what we really could do here.
One solution I shortly thought about was to do this validity
check in own thread and set short timeout for that. If there
is no response from system in couple of seconds, we can set
path as invalid, and let user continue with dialog. Thread
could then be left waiting for system to timeout. However I
don't know how this would work in practice. Probably poorly.