Upgrade for "cm_SyncChangeDir"

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Upgrade for "cm_SyncChangeDir"

Post by *ghisler(Author) »

Sorry, I don't understand what exactly you want. You can already combine 1 (don't turn off sync) with 2 (warn user with beep on first try).
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Upgrade for "cm_SyncChangeDir"

Post by *Fla$her »

2ghisler(Author)
Wow, I missed the description of the occurrence of the key!
05.10.23 Added: cm_SyncChangeDir: New option in wincmd.ini [Configuration] SyncChangeDirMode=2 0: turn off mode when no dir with same name in other panel, 1: don't turn off, add 2 to warn on first try to enter dir (32/64)
I thought it was old, and 4 is just a new flag that doesn't change anything here.
Thank you very much! We can say that the original request is implemented! 😀

It remains to fix it so that there is no synchronous change of different-named directories when switching to the parent by Backspace or Enter on [..].
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Upgrade for "cm_SyncChangeDir"

Post by *ghisler(Author) »

I thought it was old
No, SyncChangeDirMode was added to 11.02 as a new option.

Code: Select all

05.10.23 Added: cm_SyncChangeDir:
New option in
wincmd.ini
[Configuration]
SyncChangeDirMode=2
   0: turn off mode when no dir with same name in other panel,
   1: don't turn off,
   add 2 to warn on first try to enter dir (32/64)
Option 4 was added later by user request.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Upgrade for "cm_SyncChangeDir"

Post by *Fla$her »

ghisler(Author) wrote: 2023-10-15, 07:56 UTC No, SyncChangeDirMode was added to 11.02 as a new option.
I reflected this above in a quote from the version history, highlighting the necessary.

I hope this bug will be fixed.
Overquoting is evil! 👎
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Upgrade for "cm_SyncChangeDir"

Post by *wanderer »

I just downloaded 11.02RC3 and i don't understand the difference between values 0 and 4. In a test environment i created, they behave exactly the same. Can someone explain it to me please?

EDIT:

LEFT Folder structure:
A
-AA
--A1
--A2

RIGHT Folder structure:
A
-AA
--A1
--A2
--A3

If i set SyncChangeDir=4 and enable it when i am on folder A in both panels, when i enter A3, cm_SyncChangeDir is disabled without any messages and is never enabled again.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Upgrade for "cm_SyncChangeDir"

Post by *wanderer »

Oh, now i got it. This is a flag, not an absolute value...
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Upgrade for "cm_SyncChangeDir"

Post by *ghisler(Author) »

First, the flag in the wincmd.ini is called SyncChangeDirMode, not SyncChangeDir. Second, the value of 4 only makes sense when you already use 1 (don't turn off the mode).
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Upgrade for "cm_SyncChangeDir"

Post by *wanderer »

ghisler(Author) wrote: 2023-10-19, 08:39 UTC First, the flag in the wincmd.ini is called SyncChangeDirMode, not SyncChangeDir. Second, the value of 4 only makes sense when you already use 1 (don't turn off the mode).
Yup, thanks. I had already got all of these and had set it to 5, which IMO is the best. Its behavior up to now bugged me for quite some time, it just didn't bug be enough to complain about it. The new behavior (5) is much better. I also tried 7 for a little while but didn't like it.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
Post Reply