Bug 502419

Summary: More robust duplicate detection when overwriting file
Product: [Applications] dolphin Reporter: Alexander Wilms <f.alexander.wilms>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: dolphin-bugs-null, john.kizer
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Wilms 2025-04-04 18:52:38 UTC
SUMMARY
When copying/moving a file to a path where a file with the same name exists, a dialog is shown stating that the files seem identical with the following tooltip:

"The files are likely to be identical: They have the same size and their contents are the same at the beginning, middle and end"

Perhaps this could be more robust.

STEPS TO REPRODUCE
1. Copy a file to a path where another copy already exists.

OBSERVED RESULT
A dialog stating the following:
"The files are likely to be identical: They have the same size and their contents are the same at the beginning, middle and end"

EXPECTED RESULT
I'd expect that a robust method is used to ensure one doesn't accidentally overwrite a file if it is different. I don't know how big the portions are which are being compared, but maybe a SHA checksum would reduce the likelihood of collisions.
The "Checksums" tab of the properties dialog already integrates various checksums, so that could be adapted.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250329
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.8-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 John Kizer 2025-04-12 18:49:08 UTC
Hi - merging this in with an existing feature request for this topic. Thanks!

*** This bug has been marked as a duplicate of bug 337277 ***