Switch "Copy comments with files" in Synchronize Dirs

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Plumber
Junior Member
Junior Member
Posts: 12
Joined: 2014-04-25, 14:05 UTC

Switch "Copy comments with files" in Synchronize Dirs

Post by *Plumber »

Very often it is necessary to switch the CopyComments option from 14 to 6 before synchronizing directories, and at the end of the synchronization procedure, go to settings again and return the state CopyComments=14.
I would like to be able to temporarily switch CopyComments state directly in the synchronization window.
That is, in the synchronization window display the status of the "Copy Comments With FIles" flag with the ability to switch, but return to its original state upon closing the synchronization window.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Switch "Copy comments with files" in Synchronize Dirs

Post by *petermad »

Support+++

The switch could also be put in the confirmation box that is show before the sync starts. See: https://madsenworld.dk/tcmd/syncconfirmation.png
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
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Switch "Copy comments with files" in Synchronize Dirs

Post by *tuska »

I like the above ideas!

Code: Select all

! --------------- ! ------------------ ! ----------------------------- ! --------------- ! ---------------------------- !
! File Comments	  ! Copy Comments with !      Synchronize Dirs...      ! wincmd.ini      ! Notes 		        !
! in TC (Ctrl+Z)  ! files (cm_Config2) !      (cm_FileSync)            ! [Configuration] !                              !
! --------------- ! ------------------ ! ----------------------------- ! --------------- ! ---------------------------- !
! descript.ion    !        [ ]         ! [6]* Copy comments with files ! CopyComments=6  ! [X] Synchronize descript.ion !
! --------------- ! ------------------ ! ----------------------------- ! --------------- ! ---------------------------- !
! descript.ion    !        [ ]         ! [X]  Copy comments with files ! CopyComments=22 ! [X] Synchronize descript.ion !
! descript.ion    !        [X]         ! [ ]  Copy comments with files ! CopyComments=30 ! [ ] Synchronize descript.ion !
! --------------- ! ------------------ ! ----------------------------- ! --------------- ! ---------------------------- !

* Dropdown field
I also wish one of these settings - WITHOUT THAT ANOTHER MANUAL INTERVENTION IS REQUIRED - for a new synchronization.
(The setting is made once and it persists <"default value">):

Code: Select all

! --------------- ! ------------------ ! ----------------------------- ! --------------- ! ---------------------------- !
!                 ! BEFORE / AFTER the !                  At the synchronization         !                              !
!                 ! synchronization    !                                                 !                              !
! --------------- ! ------------------ ! ----------------------------- ! --------------- ! ---------------------------- !
! File Comments	  ! Copy Comments with !      Synchronize Dirs...      ! wincmd.ini      ! Notes 		        !
! in TC (Ctrl+Z)  ! files (cm_Config2) !      (cm_FileSync)            ! [Configuration] !                              !
! --------------- ! ------------------ ! ----------------------------- ! --------------- ! ---------------------------- !
! descript.ion    !        [X]         ! [ 6] Copy comments with files ! CopyComments=6  ! [X] Synchronize descript.ion !
! descript.ion    !        [X]         ! [22] Copy comments with files ! CopyComments=22 ! [X] Synchronize descript.ion !
! --------------- ! ------------------ ! ----------------------------- ! --------------- ! ---------------------------- !
For years(!), I have been trying to achieve a change/improvement in the handling of this topic.
Support +++

If there is an implementation, a line on the large wish list of the author could also be deleted. :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Switch "Copy comments with files" in Synchronize Dirs

Post by *ghisler(Author) »

TC cannot know which description is newer when there is a different description on both sides for the same file name, e.g.
Left: document.docx letter to Mr. Smith original
Right: document.docx letter to Mr. Smith revised

Here the right one would be the newer one.
Currently TC only copies comments when a file was changed too, e.g. document.docx was changed and its comment too.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Switch "Copy comments with files" in Synchronize Dirs

Post by *tuska »

TC has currently developed for such cases

Code: Select all

- with these settings (cm_Config2) .....: ☐ Copy comments with files 

- following SOLUTION (cm_FileSync) .....: 
  descript.ion 6.920 12.11.19 21:44:42    ☐ 12.11.19 21:47:31 6.928 descript.ion
In cm_FileSync in the future such cases should also be displayed like this.
The user has then still the possibility for checking the case.
Plumber
Junior Member
Junior Member
Posts: 12
Joined: 2014-04-25, 14:05 UTC

Re: Switch "Copy comments with files" in Synchronize Dirs

Post by *Plumber »

ghisler(Author) wrote: 2019-11-12, 20:39 UTC TC cannot know which description is newer when there is a different description on both sides for the same file name, ...
Just for such cases, when the user intentionally changed the description of the file/folder and wants this change to be copied as well, you need to disable the option "copy comments with files" before synchronization, but for this you need to first open the settings and perform the procedure for canceling copying comments, and after synchronization, turn it back on.
Therefore, I asked about the possibility of temporarily canceling “Copy Comments with Files” directly in the synchronization window, before starting the comparison procedure, but that after closing the directory synchronization window, the option “Copy Comments with Files” would return to its original state, that is for "CopyComments" the state of the flag "8" (on/off) was processed.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Switch "Copy comments with files" in Synchronize Dirs

Post by *tuska »

Code: Select all

At present we have - for many years - on this issue a toggle switch, which is located in the corridor.
This proposal should, in my opinion, cause that there is an additional toggle switch with timer in the living room.
Since there must be a solution that even with a new toggle switch with timer in the living room, the light goes on.
Plumber
Junior Member
Junior Member
Posts: 12
Joined: 2014-04-25, 14:05 UTC

Re: Switch "Copy comments with files" in Synchronize Dirs

Post by *Plumber »

Once a solution to this issue has already been found with the help of PowerPro, but I would like to receive the same means of TC itself
Post Reply