Upgrade for "cm_SyncChangeDir"
Moderators: white, Hacker, petermad, Stefan2
Re: Upgrade for "cm_SyncChangeDir"
2ghisler(Author)
Sounds good
Sounds good
Windows 11 Home x64 Version 23H2 (OS Build 22631.3672)
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Upgrade for "cm_SyncChangeDir"
I would like to propose something different (i think, i don't know what other applications do). I've found myself in many occasions Sync-CDing up to a certain level, in which there exists one folder in one panel that does not exist in the other. At that point, i CD to the one folder twice (so cm_SyncChangeDir is forcibly disabled), travel down the path, do or find what i want and then return upwards to the same path, just to be able to re-enable cm_SyncChangeDir.
What if there was a mode in which TC beeped the first time the user tries to CD and the other folder does not exist (as done now), then just temporarily disables cm_SyncChangeDir (a third state for the button/command), let you go as down as you want and when you return to the upper level (at the point where cm_SyncChangeDir was disabled), TC automatically reenables cm_SyncChangeDir. If the user manually changes the path, the state of the button becomes "off".
That might require the cm_SyncChangeDir to be a 3-state button (on, off and temporarily off). It would stand for the current tab-set only. For simplicity, if the user travels to another tab, the button could be turned off.
Comments?
What if there was a mode in which TC beeped the first time the user tries to CD and the other folder does not exist (as done now), then just temporarily disables cm_SyncChangeDir (a third state for the button/command), let you go as down as you want and when you return to the upper level (at the point where cm_SyncChangeDir was disabled), TC automatically reenables cm_SyncChangeDir. If the user manually changes the path, the state of the button becomes "off".
That might require the cm_SyncChangeDir to be a 3-state button (on, off and temporarily off). It would stand for the current tab-set only. For simplicity, if the user travels to another tab, the button could be turned off.
Comments?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
Re: Upgrade for "cm_SyncChangeDir"
2ghisler(Author)
Sounds like a good approach, but as a supplement to the current functionality.What do you think?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Upgrade for "cm_SyncChangeDir"
I can hardly imagine such a thing. Usually the mode is turned on and off intentionally.
I don't see the point in an extra warning. Let the user decide for himself using the options: stop, continue or ask.
You could add parameters like 0, 1, 2 for different behaviors. cm_SyncChangeDir [0-2]
Overquoting is evil! 👎
Re: Upgrade for "cm_SyncChangeDir"
2Fla$her
I am thinking of situations, where you turn it on and for example restart TC or the computer. If the mode is always on, it will then also be on in those occasions, that might be long time after you enabled the mode.I can hardly imagine such a thing. Usually the mode is turned on and off intentionally.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Upgrade for "cm_SyncChangeDir"
2petermad
Clear. Do you support my suggestion with parameters?
Clear. Do you support my suggestion with parameters?
Overquoting is evil! 👎
Re: Upgrade for "cm_SyncChangeDir"
2petermad
This problem can be avoided by automatically reset this mode on TC start-up.
This problem can be avoided by automatically reset this mode on TC start-up.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3672)
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Upgrade for "cm_SyncChangeDir"
Yes.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Upgrade for "cm_SyncChangeDir"
What about to show a tooltip (message auto off ) for 1-2 second with the warning: "Synchronization was disabled. The structure of directories are not identical." or something else with the same meaning.ghisler(Author) wrote: ↑2023-05-17, 16:18 UTC I see - maybe a mix of the two would be an idea, e.g. refuse to change directory on the first try when a directory doesn't exist, to warn the user that the function is still enabled. After that, don't warn any more until the function is turned off by the user. What do you think?
I don't believe that refuse to change directory is a viable solution.
Better will be to change the folder's color based on synchronize flag (1 - synchronized structure; 0 - structure different) or something similar.
Re: Upgrade for "cm_SyncChangeDir"
To be honest, I actually think it's pretty good the way it is at the moment. The user sees that the directory on the other side no longer follows. And he recognizes the reason for this himself: There is simply no corresponding directory on the other panel. I wouldn't display a message either. That only bothers. Function automatically switched off and that is clear and easy to use.
@ghisler(author)
I wouldn't change anything about this routine in Tc.
Joube
@ghisler(author)
I wouldn't change anything about this routine in Tc.
Joube
Re: Upgrade for "cm_SyncChangeDir"
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Re: Upgrade for "cm_SyncChangeDir"
2ghisler(Author)
This is all good, of course, but I ask you to return to the request for non-disconnected synchronization discussed here. You suggested a questioning dialogue, I suggested a more flexible option. I think it's time to implement this while this mode is being considered.10.10.23 Added: SyncChangeDirMode: Add 4 to suspend going up one level when going down into a directory only existing on one side. Resume when going back to base dir, or using a bookmark, button etc. to go elsewhere (32/64)
Overquoting is evil! 👎