Different behavior of the TC main window depending on how the directory synchronization window is closed
Moderators: Hacker, petermad, Stefan2, white
Different behavior of the TC main window depending on how the directory synchronization window is closed
During researching this https://www.ghisler.ch/board/viewtopic.php?t=76211 problem, I came across another that may be and may be not related to the above. This one occurs only on x64 version also with clean ini.
When i call synchronize dirs window, wait to the end of compare dirs process and try close window there is nothing wrong if i close synch dirs window by TC own way - ESC or "Close" botton.
But if i use any Windows way "x" or just ALT+F4, main TC window disappears for a while, and appears back after about second.
No crash, no hangs.
EDIT
Just checked.
Still occurs on BETA 3
When i call synchronize dirs window, wait to the end of compare dirs process and try close window there is nothing wrong if i close synch dirs window by TC own way - ESC or "Close" botton.
But if i use any Windows way "x" or just ALT+F4, main TC window disappears for a while, and appears back after about second.
No crash, no hangs.
EDIT
Just checked.
Still occurs on BETA 3
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
I was able to reproduce a short blink of the main program with these steps:
1. Start Total Commander 64-bit with parameter /i=c:\path\test.ini (ini not existing)
2. Go to a start directory for sync in both panels
3. Synchronize dirs
4. Check options Asymmetric, Subdirs and Empty directories, uncheck "="
5. Compare
6. Click on "X"
It doesn't happen on all further attempts unless I first delete the test.ini.
1. Start Total Commander 64-bit with parameter /i=c:\path\test.ini (ini not existing)
2. Go to a start directory for sync in both panels
3. Synchronize dirs
4. Check options Asymmetric, Subdirs and Empty directories, uncheck "="
5. Compare
6. Click on "X"
It doesn't happen on all further attempts unless I first delete the test.ini.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
Comparing to clean settings i need only to check Subdirs to bug occurs.
It seems that the time lenhgt of disappear is proportional to the number of directories to be compared, so i start from root of two drives.
It seems that the time lenhgt of disappear is proportional to the number of directories to be compared, so i start from root of two drives.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
This should be fixed in beta 4, please test it!
29.04.22 Fixed: Synchronize dirs: The main Total Commander window could disappear for a fraction of a second when closing the dialog via Alt+F4 or "X" button (64)
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
Does anyone still get this error:
It should be fixed in beta 4 and newer.But if i use any Windows way "x" or just ALT+F4, main TC window disappears for a while, and appears back after about second.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
Fixed, but now there is another problem. Compare the roots of 2 drives including subfolders, so the compare takes long. While TC is reading directories press F4. Like in earlier versions, nothing happens. Now wait until the reading directories has stopped or press Esc. The Synchronize dirs dialog is closed. This is new behavior since beta 4.ghisler(Author) wrote: 2022-05-09, 07:18 UTC This should be fixed in beta 4, please test it!29.04.22 Fixed: Synchronize dirs: The main Total Commander window could disappear for a fraction of a second when closing the dialog via Alt+F4 or "X" button (64)
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
Not confirmed. Did you perhaps press ESC after F4? Just pressing F4 with an empty list does nothing here.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
Yes. Press F4 while TC is reading directories. Then wait until TC is finished or press Esc.ghisler(Author) wrote: 2022-05-16, 09:32 UTC Not confirmed. Did you perhaps press ESC after F4? Just pressing F4 with an empty list does nothing here.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
Sorry, I really can't reproduce that. I pressed F4 about 20 times while the sync tool was reading directories. I also clicked on the result list and press F4 a few times again. The comparison continued just fine, and results were shown. I was able to abort reading with ESC, and the dialog did not close. Tried with 32-bit and 64-bit.
Do you use anything special, e.g. use standalone sync, or special parameters?
Do you use anything special, e.g. use standalone sync, or special parameters?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
OMG, I meant Alt+F4. My brain left something out. Sorry about that
It seems to happen with all 32-bit versions.
With 64-bit versions this happens since TC10.50b4.

It seems to happen with all 32-bit versions.
With 64-bit versions this happens since TC10.50b4.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
Ah, that makes more sense. I can reproduce it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Different behavior of the TC main window depending on how the directory synchronization window is closed
Tested OK using TC10.50b6 32bit and 64bit. Alt+F4 now aborts reading directories and the synchronize dirs dialog is no longer closed. Clicking X also aborts.
Moderator message from: white » 2022-05-18, 17:48 UTC
Moved to Fixed bugs