[TC9b7 x64] Selection in left panel lost after filesync

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
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[TC9b7 x64] Selection in left panel lost after filesync

Post by *petermad »

If I select files and folder in both panels and run Synchronize Dirs then when the Sync dialog is closed the selection is lost in the left file panel but not in the right panel.

This applies to the 64bit version. In the 32bit version of TC9b7 the selections are preserved on both sides after the filesync window is closed.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The selection is normally lost when the directory changes. Maybe there was no change when using 32-bit version sync?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It happened when I only did the compare but not the sync - so there where no changes in that case because I closed the window after doing only the compare.

But when I try again today - it works as expected...

I will return on this issue if it turns up again, and I can find a way to reproduce it.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 4060
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

I made the same observation:
http://www.bilder-hochladen.net/files/big/lwdu-6-eeb4.png

Example 1
1. Left panel: Mark two folders, e.g. "Language" and "Tools"
Path: D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\
2. Right panel: Mark two folders, e.g. "Language" and "Plugins"
Path: I:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\
3. Click on button "cm_FileSync"
4. [Click on button "Compare"]
5. Click on button "Close" (and NOT on button "Synchronize")
6. In the right panel the two folders "Language" and "Plugins" are marked
In the left panel selection is lost.

This also happens in the 32 bit-version.
Panel selection will get not lost if files are identically.

Example 2
1. Left panel: Mark two folders, e.g. "_Forumsanfragen" and "Avatar_Bild-im-Internet"
Path: D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Migration\
2. Right panel: Mark two folders, e.g. "Avatar_Bild-im-Internet" and "Benutzerdefinierte Spalten"
Path: I:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Migration\
3. Click on button "cm_FileSync"
4. [Click on button "Compare"]
5. Click on button "Close" (and NOT on button "Synchronize")
6. Both folders are marked in left and right panel!

The only difference I could state is, that in Example 1 the path is %COMMANDER_PATH%
in the left panel and in Example 2 not.

Regards
Karl
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

The only difference I could state is, that in Example 1 the path is %COMMANDER_PATH%
I think you found the culprit.

If I happen to be in the folder that corresponds to %COMMANDER_PATH% in one of the panels (left or right) then the selection in that panel is lost after filesync -> compare -> close.

If I am in a subdirectory to %COMMANDER_PATH% the bug doesn't happen.

And yes, it applies to both 32bit and 64bit TC.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have decided to leave it as it is for now because it doesn't do any harm. TC sees a directory change in the window which is updated.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I found out that it is because TC rewrites the settings for the Sync window for the current resolution to wincmd.ini - even if there has been made no changes to the settings
SyncX=
SyncY=
SyncDX=
SyncDY=
SyncMax=
SyncTabs=

And because I have my wincmd.ini (actually this setting is redirected to user.ini) in TC's program folder - TC sees a change in that folder.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply