[okular] [Bug 436738] docdata duplicated each time pdf is edited
Albert Astals Cid
bugzilla_noreply at kde.org
Tue May 18 22:48:22 BST 2021
https://bugs.kde.org/show_bug.cgi?id=436738
--- Comment #16 from Albert Astals Cid <aacid at kde.org> ---
> The SHA algorithms don’t make collisions that we should care about. :)
I don't understand what you mean with this?
> For PDF, the hash of filesize + a couple of 4kB chunks throughout the file would surely be good enough. For some formats I can imagine users might want to change small bits of the file in a way this can't detect, but PDF isn't one of them.
So I open a file, add an annotation, save it as filea.pdf then move the
annotation around and save it as fileb.pdf. Your algorithm would think it's the
same file
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list