HashCheck icon indicating copy to clipboard operation
HashCheck copied to clipboard

File order is broken in Create Checksum File

Open a-raccoon opened this issue 5 years ago • 2 comments

In the original kliu release, when you select a bunch of files and right-click -> Create Checksum File, the files would be ordered based on the ordering within the Explorer window.

Today, there is no rhyme or reason to the file ordering that appears in a checksum file. It is nearly randomized.

Can anyone describe what changed in the code that would explain this behavior change?

a-raccoon avatar Dec 22 '18 03:12 a-raccoon

You mean this? The Checksum doesn't respect my "View Settings" I don't remember what I changed from the code so that it don't directly use or recognize that I have an SSD.

SoyRA avatar Dec 22 '18 22:12 SoyRA

I think that sounds right. But I don't think it has anything to do with "View Settings" specifically. Windows Explorer preserves the ordering when it sends off the list-of-files to an application. The item under the cursor is first, and then the rest of the list from top-to-bottom. Somehow that order of parameters is being lost. Is there a hashlist being created and then iterated from, or did you go from array to SQL?

a-raccoon avatar Dec 22 '18 23:12 a-raccoon