Synchronize Dirs - difficulties with Confirm delete dialog

Please report only one bug per message!

Moderators: Hacker, Stefan2, white

Post Reply
mmm
Junior Member
Junior Member
Posts: 56
Joined: 2020-08-10, 12:32 UTC

Synchronize Dirs - difficulties with Confirm delete dialog

Post by *mmm »

Hello,
I find the Synchronize Dirs tool in TC 9.21 fascinating, yet I have a couple of questions about the following details.

Test case scenario:
Step 1 Synchronize Dirs - Compare button - Equal files filter set on
At this point, TC shows a list of folders containing identical files.

Step 2 CTRL+A - Right mouse button - Delete right
At this point, TC shows a Confirm delete dialog that reads as follows:
"RIGHT: Do you really want to move X selected files/directories to the recycle bin?"


Question 1: I suspect that the X number is equal to the sum of identical files count and folders count minus 1.
Is that intentional?

Quick update an hour later:
It looks like the X number shows the sum of files count and number of folders that get empty after Sync.

If that assumption is correct, then I consider this aggregated info difficult to grasp, if not confusing.
Do you think you could improve the statistic report in the Confirm delete dialog?


Question 2: I find the wording in Confirm delete dialog troubling as I translate it as
"You are going to lose the selected folders unconditionally."
Having tested this feature I believe that the tool deletes ONLY folders that get empty after Synchronization.
I would like to invite your comment.

Questions 3: A pertinent question arises as to whether deleting empty folders as per Q2 is expected behavior.
From my standpoint, in most cases it is a preferred behavior, however I would think that a
"Delete empty folders after Sync files" option set ON by default might be helpful.
Your thoughts?

Many thanks,
mmm
Last edited by mmm on 2022-01-13, 09:00 UTC, edited 1 time in total.
User avatar
Hacker
Moderator
Moderator
Posts: 12378
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *Hacker »

Hi mmm,
Please check with an up to date version. Version 9.21 is three years old already.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
mmm
Junior Member
Junior Member
Posts: 56
Joined: 2020-08-10, 12:32 UTC

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *mmm »

Roman,
I wish I could.

mmm
User avatar
Horst.Epp
Power Member
Power Member
Posts: 4991
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *Horst.Epp »

mmm wrote: 2022-01-13, 09:02 UTC Roman,
I wish I could.

mmm
Whats the problem to update ?
Your TC license allows any version on any computer.
The portable version allows to use it even on systems where you don't have admin rights.
Windows 11 Home x64 Version 21H2 (OS Build 22000.778)
TC 10.50RC3 x64 / x86
Everything 1.5.0.1315a (x64)
User avatar
Hacker
Moderator
Moderator
Posts: 12378
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *Hacker »

mmm,
If you cannot update, then any change, such as
a "Delete empty folders after Sync files" option set ON by default might be helpful.
will not help you.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
mmm
Junior Member
Junior Member
Posts: 56
Joined: 2020-08-10, 12:32 UTC

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *mmm »

Dear lord, this conversation is so unproductive.
Well, I am not going to disclose further details on why I cannot install the latest and greatest version. End of story.

Time to get down to business I guess.
User avatar
Hacker
Moderator
Moderator
Posts: 12378
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *Hacker »

mmm,
I have to agree, discussing three year old software which is not used anymore and cannot be changed in any way is indeed unproductive.

To answer your questions, though:
Question 1: I suspect that the X number is equal to the sum of identical files count and folders count minus 1.
Is that intentional?
In v.10 it is the amount of files and folders (not minus 1).
It looks like the X number shows the sum of files count and number of folders that get empty after Sync.
Nothing gets empty after sync if your filter is set to equal files only.
If that assumption is correct
It is not.
Having tested this feature I believe that the tool deletes ONLY folders that get empty after Synchronization.
See above.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
mmm
Junior Member
Junior Member
Posts: 56
Joined: 2020-08-10, 12:32 UTC

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *mmm »

Hacker,
1. I am assuming you are running the latest and greatest version. Please confirm/deny.

2. Re "Nothing gets empty after sync if your filter is set to equal files only."
I am afraid we do not understand each other. Let me clarify:
When you compare two folders with identical contents, then you will get an empty folder after the Sync files phase is complete.
Hope it helps clarify my wording.

3. I am getting confused about the X number in the Confirm delete dialog.
When you complete Step 2 in my procedure at your end, do you get an X number that represents
a) number of identical files only
b) number of folders shown
c) sum of a and b
d) none of the above

Many thanks.
mmm
User avatar
Hacker
Moderator
Moderator
Posts: 12378
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *Hacker »

mmm,
I am assuming you are running the latest and greatest version. Please confirm/deny
I confirm, I am running the most awesome and amazing version of TC ever created, up to this moment.
When you compare two folders with identical contents, then you will get an empty folder after the Sync files phase is complete.
No, this does not happen. If you compare two folders with identical contents, nothing gets synced and the folders remain exactly as they were, unless you explicitly instruct TC / the Sync tool to do otherwise.
c) sum of a and b
This.
My folder consists of:
File A.txt
File B.txt
Subdir\File C.txt
Subdir\File D.txt

I get the number 5 (File A, B, C, D and Subdir itself, all of which would get deleted if I pressed Ctrl-A, right click, Delete right as per your instructions).

Any reason why you opened this thread in a Bugs forum?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
mmm
Junior Member
Junior Member
Posts: 56
Joined: 2020-08-10, 12:32 UTC

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *mmm »

I admit I feel rather uncomfortable here.
Any place place I can discuss the Sync Dirs feature outside the reign of yourself ?
User avatar
Hacker
Moderator
Moderator
Posts: 12378
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *Hacker »

mmm,
My apologies. I will not respond any further.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 11507
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *petermad »

2mmm
mmm wrote:Test case scenario:
Step 1 Synchronize Dirs - Compare button - Equal files filter set on
At this point, TC shows a list of folders containing identical files.

Step 2 CTRL+A - Right mouse button - Delete right
At this point, TC shows a Confirm delete dialog that reads as follows:
"RIGHT: Do you really want to move X selected files/directories to the recycle bin?"
Tested with TC 9.21:
If the box: "Empty directories" is selected, the number shown is BOTH files and folder, since both will be deleted
If the box: "Empty directories" is NOT selected, the number only shows the files, since the empty folders will be left.

Note:if you select or deselect the box: "Empty directories" you have to click the Compare button AGAIN, to see the effect of the change.


mmm wrote:Well, I am not going to disclose further details on why I cannot install the latest and greatest version. End of story.
Well, that only leads us to guess about the reason. I can think of two reasons and neither comes out to your benefit.
License #524 (1994)
Danish Total Commander Translator
TC 10.50b7 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1015 (x64)
TC 3.40b2 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
mmm
Junior Member
Junior Member
Posts: 56
Joined: 2020-08-10, 12:32 UTC

Re: Synchronize Dirs - difficulties with Confirm delete dialog

Post by *mmm »

Petermad,
Thanks for your thorough explanation. I have no more questions.

Let's consider this thread closed.

Best,
mmm
Post Reply