File counter double counts when verifying

Avatar
  • updated
When you select the verify option, the file counter when copying a directory or multiple files double counts files. If I copy and verify 100 files, the counter says 100 total, but will count to 1 when copying the file, and to 2 when verifying. This makes the counter stop at 100/100 when it's halfway through the file list, as the files are counted twice.

The counter does not go past the total of 100, it just stays at 100/100 until the list is done.

Expected behavior is to count the file when copying and verifying once, instead of each stage.

Tested on 3.8.2 on Windows 11 Pro build 22000.258 and 3.8.5 on Windows 10 Pro build 19043.1288

Avatar
David Fernández

Currently on version 3.8.5 I can't observe that.

I have a list of 17000 files and is in the verifying stage at 14000/17000 so I think it is counting correctly.


Avatar
Andy Yasger

So I've noticed that it depends on how the verification happens. I can't readily reproduce the issue, as I'm not 100% sure how it determines this, but I've noticed two ways it'll verify files. Sometimes, it'll copy the whole file list in one shot, and then go back, and verify everything. However, sometimes it copies each file and verifies it individually (copy, verify, copy, verify, etc.).

I've noticed that when everything gets copied, and then everything is verified, the copy pass, in your example, would increment correctly to the 17,000 mark, and then verification would reset and go from 0 to 17,000 as well.

If, however, each file is copied and then verified, this doesn't happen. A successful copy is 1/17000, a successful verification is 2/17000, etc. until eventually we hit 17000/17000, which would be exactly halfway through the file list. Presumably, in this manner, the intended operation would be to increment to 1 on a successful verify (or just on copy if verification is off).

Hope this helps you reproduce this issue.

Avatar
David Fernández

Maybe that depends on how the verify options has been marked.

If it helps, I allways mark it on Preferences -> Misc -> Always Test After Copy.

Avatar
Andy Yasger

Yup, that's exactly how I have it done. Seems like it's related to whether you drag one folder from A to B, versus a handful of files and folders, but I don't recall the exact conditions to reproduce this.

Also, this isn't related, but I wanted to make you aware of this as well. I just discovered this today on 3.8.5 on Win10 Education.

This particular operation was skipping most of the files because they were already in both places, but the progress bar and size copied counter seem to be counting both the copy and verify operations, resulting in 0-200% instead of 0-100, and the resulting reported copied size being double the white total filesize.

On another unrelated note, can you perhaps add an unattended option for "skip all files with the same date and size" like Windows copy does? Seems I can do different dates or different sizes, but not explicitly both. Would be useful, since files with different dates doesn't necessarily mean the filesize is the same, or matching sizes doesn't necessarily mean the date is the same.

Keep up the awesome work!