Summary: | Overwrite dialog: Show if files are identical | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Gregor Mi <codestruct> |
Component: | Overwrite dialog | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kdelibs-bugs, meven29, nate |
Priority: | NOR | ||
Version: | 5.60.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/commit/d712d8e70f85b79a4fdff54531727989b39e0a4e | Version Fixed In: | 5.73 |
Sentry Crash Report: | |||
Attachments: |
File Already Exists dialog
File Already Exists - with Skip (when multiple files are copied at once) |
Created attachment 123052 [details]
File Already Exists - with Skip (when multiple files are copied at once)
In fact, if the files actually are identical by checksum comparison (or whatever), maybe we should just auto-skip without even prompting the user. What do you think? (In reply to Nate Graham from comment #2) > In fact, if the files actually are identical by checksum comparison (or > whatever), maybe we should just auto-skip without even prompting the user. > What do you think? Sounds good. I wonder what should happen for the corner case when the file contents is equal but not the file modification date. I think that skipping would also be ok for that. Relates to 421557 Git commit d712d8e70f85b79a4fdff54531727989b39e0a4e by David Faure, on behalf of Méven Car. Committed on 25/07/2020 at 09:13. Pushed by dfaure into branch 'master'. RenameDialog: Show if files are identical Compute and compare three hashes in the files : - beginning of the files - middle of the files - end of the file FIXED-IN: 5.72 M +121 -12 src/widgets/renamedialog.cpp https://invent.kde.org/frameworks/kio/commit/d712d8e70f85b79a4fdff54531727989b39e0a4e The commit message should be FIXED-IN: 5.73 |
Created attachment 123051 [details] File Already Exists dialog Recently, I guided an occasional Plasma user when she wanted to sort out which of here files were already copied to an external USB drive and which ones were newer or missing. The following is one of the findings for potential improvement. Look at the attached screenshots. Both files (source and destination) are identical but this not obvious at first glance. IDEA: (at least for small files) calculate hash of the file content and display it clear to the user when those files are content-wise identical.