Sync directorys: Window title is missing sometimes
Moderators: white, Hacker, petermad, Stefan2
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
Sync directorys: Window title is missing sometimes
The title of the synchronize directory window sometimes disappears randomly.
But I didnt found a way how to reproduce it by 100%.
I only do:
- sync two folders
- copy files
- escape the second compare step
- sync other folders
Edit: I use folders on my laptop to sync with my PC.
But I didnt found a way how to reproduce it by 100%.
I only do:
- sync two folders
- copy files
- escape the second compare step
- sync other folders
Edit: I use folders on my laptop to sync with my PC.
- ghisler(Author)
- Site Admin
- Posts: 48077
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately I have never seen this problem. Can anyone else reproduce it?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48077
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have checked my code, and it's not set anywhere in it, only automatically when loading the form.
Maybe some subfunction like compare or copy changes it, but I'm not aware of such a problem...
Maybe some subfunction like compare or copy changes it, but I'm not aware of such a problem...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
This bug still appears in TC 7.5rc1. I think I found better reproduce steps: (actually they describe the way I currently use the standalone sync tool at most times)
1. Start the standalone sync tool and compare two folders
2. Start the copy progress
3. activate some other windows
4. Usually when the copy progress finishes and the new compare step starts the window title disappears
Seems to be 100% reproduceable.
1. Start the standalone sync tool and compare two folders
2. Start the copy progress
3. activate some other windows
4. Usually when the copy progress finishes and the new compare step starts the window title disappears
Seems to be 100% reproduceable.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Under Win2K: I tried a few different tests, with the following on a button:
When coming back to the standalone Sync tool the Title was always "Synchronize Directories"
Although this did show a different BUG,
/S=S:=
does not work as the help file indicates... it ALWAYS says:
Someone else with WinXP needs to test, and you also might want to try with disabling any AHK stuff you have running to see if that gives any different results.
It would need to copy 2 30MB files. Switched to various windows, Opera, CMD prompt, an editor, etc.%COMMANDER_PATH%\totalcmd.exe /S=S i:\___NEW___ i:\___NEW___2
When coming back to the standalone Sync tool the Title was always "Synchronize Directories"
Although this did show a different BUG,
/S=S:=
does not work as the help file indicates... it ALWAYS says:
Even when the left/right tabs were in different Drives/Folders.Warning: The left and right side show the same directory!
Someone else with WinXP needs to test, and you also might want to try with disabling any AHK stuff you have running to see if that gives any different results.
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
Tried with everything disabled. Same result.you also might want to try with disabling any AHK stuff you have running to see if that gives any different results.
The sync window must be in background in the moment, when the resync starts.Switched to various windows, Opera, CMD prompt, an editor, etc.
When coming back to the standalone Sync tool the Title was always "Synchronize Directories"
What syntax do you use.Although this did show a different BUG,
/S=S:=
does not work as the help file indicates... it ALWAYS says:Even when the left/right tabs were in different Drives/Folders.Warning: The left and right side show the same directory!
Here:
Code: Select all
Totalcmd.exe /S=S:= "E:\___NEW___" "E:\___NEW___2"
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
No, the helpfile indicates that:
/S=S:=
does not require you provide the Path1 and Path2 values.
I waited for the "ding" to indicate the sync had finished, and the Title was blank. I was switching back to the window during its resync previously.
/S=S:=
does not require you provide the Path1 and Path2 values.
Ahhh, I confirm your bugIf the equal sign is the only parameter, e.g. /S=S:= , the comparison will start with the current directories and last used options.
I waited for the "ding" to indicate the sync had finished, and the Title was blank. I was switching back to the window during its resync previously.
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
Great to hear that!Ahhh, I confirm your bug
I can reproduce what you mean now: (but its by design)
Create a button with:
Code: Select all
Command: Totalcmd.exe
Parameter: /S=S:=
But it is intended. You call the standalone Sync and its not connected to the current folders shown in TC. It gets its own pair of folders by commandline. You could give the folders of TC by passing this as parameter:
Code: Select all
/S=S:= "%X%Z%P" "%T"
Edit: The helptext is indeed strange and was copied from the command SYNCOPEN.
- ghisler(Author)
- Site Admin
- Posts: 48077
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I could reproduce and fix it now! It happens only when the sync tool does NOT have the focus! Then the progress dialog tries to restore the main TC window title (because it could have been used for showing % progress values), but since there is no TC main window, the sync tool is the main window. Furthermore, the TC main window title hasn't been set...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48077
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: