Window "Connect" locks up Total Commander 8.51a
Moderators: Hacker, petermad, Stefan2, white
Window "Connect" locks up Total Commander 8.51a
Here is a case which locks up Total Commander 8.51a because of the window "Connect..." not automatically closing and becoming unreceptive to any action :
OS : Windows XP SP3
I start the test of a rar archive with "Test archive" ;
-> The window showing the test progress opens ;
I send this window to the background with the background button ;
Then in a panel of Total Commander I open an external USB disk which is currently sleeping ;
-> The window "Connect..." opens (it normally must stay open till the USB disk completely wakes up and sends its content, and then automatically closes) ;
While this "Connect" Window is open, the archive test in the background ends without problem and its window closes ;
Then the USB disk finally wakes up and displays its content in the Total commander panel, BUT the window "Connect..." does not close and none of its buttons can close it. And this window keeps the focus and prevents any other action in Total Commander.
The only way to get out of this state is to kill the total Commander process.
OS : Windows XP SP3
I start the test of a rar archive with "Test archive" ;
-> The window showing the test progress opens ;
I send this window to the background with the background button ;
Then in a panel of Total Commander I open an external USB disk which is currently sleeping ;
-> The window "Connect..." opens (it normally must stay open till the USB disk completely wakes up and sends its content, and then automatically closes) ;
While this "Connect" Window is open, the archive test in the background ends without problem and its window closes ;
Then the USB disk finally wakes up and displays its content in the Total commander panel, BUT the window "Connect..." does not close and none of its buttons can close it. And this window keeps the focus and prevents any other action in Total Commander.
The only way to get out of this state is to kill the total Commander process.
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I couldn't reproduce this problem because my USB sticks do not go to sleep. I tried to simulate slow reading by using Ctrl+B (branch view) in the root of the drive. The RAR test ended while the reading dialog of Ctrl+B was shown. However, when Ctrl+B ended, the reading dialog closed as it should.
2PascalT
Could you check whether the problem also occurs when you use Ctrl+B in the root of C:\ instead of accessing a hanging USB stick?
2PascalT
Could you check whether the problem also occurs when you use Ctrl+B in the root of C:\ instead of accessing a hanging USB stick?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I tested with Ctrl+B and there's no lock in this case.
But the problem was with the "Connect" window, not the "Reading" window.
The "Connect" window is displayed while the USB disk is awaking (disk starting spinning), and is displayed before
the "Reading" window which is displayed while directories are read from the disk and if this takes too much time.
Maybe it's in fact the same window in Total Commander, but anyway the lock appears in the Connect phase and not
in the Reading phase.
But the problem was with the "Connect" window, not the "Reading" window.
The "Connect" window is displayed while the USB disk is awaking (disk starting spinning), and is displayed before
the "Reading" window which is displayed while directories are read from the disk and if this takes too much time.
Maybe it's in fact the same window in Total Commander, but anyway the lock appears in the Connect phase and not
in the Reading phase.
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for the extra info. I didn't change anything in TC 8.52 because I can't reproduce the problem. Maybe I can simulate it by adding some "sleep" calls in the right places...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I could also reproduce exactly the same lock with the "Unpack specific files" function (with a RAR file), sent to the background and ending while the Connect window is still showing.
Maybe this is linked with the way background processes dealing with archive terminate and close their window.
Other functions sent to background (like copy files) seem to work OK with the Connect window.
Maybe this is linked with the way background processes dealing with archive terminate and close their window.
Other functions sent to background (like copy files) seem to work OK with the Connect window.
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I could finally reproduce it, although not with a USB drive, but with a network share (via Ctrl+D). The problem was that the RAR unpack function didn't notice that it was moved to the background. This affects both unpacking and testing RAR archives.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This should be fixed in Total Commander 8.52a RC1, please test it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: