[Okular-devel] [okular] [Bug 338742] New: Annotations incompatible with gzip

Holger private_lock at yahoo.com
Tue Sep 2 01:26:23 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=338742

            Bug ID: 338742
           Summary: Annotations incompatible with gzip
           Product: okular
           Version: 0.19.3
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: private_lock at yahoo.com

Only recently I found out, that Okular can handle *.pdf.gz ... very useful!

Problem is, I've already made annotations in the files, I'd like to gzip. But
after gzip Okular won't find my annotations anymore. Only the unzipped PDF gets
annotations.

Reproducible: Always

Steps to Reproduce:
1. Open uncompressed PDF
2. Add some annotations
3. Close PDF
4. Move PDF to other folder
5. Check in Okular (anotations still present)
6. gzip PDF
7. Check in Okular (anotations are gone)
8. gunzip PDF
9. Check in Okular (anotations resurrected)

Actual Results:  
Detection of "same" file can find annotations after moving to another folder,
but not after gzip compression

Expected Results:  
I'd like to suggest to add a fallback to re-recognize more similar documents
- if a hash is calculated, don't hash the gzip, but the uncompressed PDF
- in addition check the embedded ID within the trailer of the PDF

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list