Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File order is broken #4

Open
SoyRA opened this issue Mar 25, 2021 · 3 comments
Open

File order is broken #4

SoyRA opened this issue Mar 25, 2021 · 3 comments

Comments

@SoyRA
Copy link

SoyRA commented Mar 25, 2021

Basically what I put in The Checksum doesn't respect my "View Settings", but in short this is what happens:

  • If you have your folder sorted by Type and you create a Checksum: on the HDD it will remain in the same order while on the SSD it won't (HDD-Example.gif - SSD-Example.gif).
    • It doesn't matter if it's by Type, Name, etc. the point is that the order will be different if you do it on an SSD.

But this problem doesn't occur when doing this:

  • Right click -> Properties -> Checksum
  • Right click -> Properties -> Checksum -> Save . . .
@tERyceNzAchE
Copy link

Based on your referenced issue, this has been the way the original HashCheck fork has handled things from it's creation. I would not label this as a bug, and instead consider this an enhancement.

@SoyRA
Copy link
Author

SoyRA commented Apr 6, 2021

- Write: everything I said, I think it's like this to make it faster.
- Read: On the HDD it reads ordered while on the SSD it reads unordered (it doesn't matter if the file was generated ordered or not).

And I also noticed that it doesn't sort well either (or at least not respecting the folder structure) in the verification, for example:
- Sort by Name: Perfect, I'll see "FileA -> FileB -> FolderA\File1 -> FolderA\File2 -> FolderB\File1". :P
- Sort by Status: Well...it does, but now the names are unordered (unlike how it's done by Name).
* For a few files it doesn't bother, but when there are many...it becomes complicated. @,@

@idrassi
Copy link
Owner

idrassi commented Aug 10, 2023

Please check my explainations on the issue #15

Basically, the cause is the use of multithreading in case of SSD to speedup computation.
I have proposed to sort the entried of the checksum file after all computations are done. The sort will be based on lexicographical order on name. This will not always match the Explorer View Settings (I don't know how to read that programmatically) but it is better than nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants