[okular] [Bug 466673] Add ability to save highlighting and annotations in file

Luigi Toscano bugzilla_noreply at kde.org
Thu Mar 2 01:21:53 GMT 2023


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

Luigi Toscano <luigi.toscano at tiscali.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luigi.toscano at tiscali.it

--- Comment #4 from Luigi Toscano <luigi.toscano at tiscali.it> ---
(In reply to JDT from comment #2)
> Albert, 
> 
> Okular's manual disagrees with you. Annotations are **not** saved in the pdf
> file. See, for instances:
> https://docs.kde.org/stable5/en/okular/okular/annotations.html
> 
> Annotations and highlighting *used* to be stored in the PDF. There was an
> intentional design decision made at some point. 

As one of the developer of the poppler libraries and one of the long standing
contributor of Okular, I suspect that Albert knows how that part of Okular
works. 

For the record, annotations are stored into the PDF. They used to be stored
outside, but then both poppler and okular gained the needed bit to make sure
the annotations were recorded back in the file, according the standard.

> 
> If you'd like to learn more about the technical aspects, the information is
> out there. For instance the information is stored in
> ~/.kde/share/apps/okular/docdata

If you refer to standard, please make sure to refer to updated ones.  
~/.kde/share/apps/okular/docdata was the location used when Okular was based on
Qt4, which hasn't been the case for the past 6 years
(https://community.kde.org/Applications/16.12_Release_Notes).

> https://unix.stackexchange.com/questions/71584/storing-okular-pdf-annotations-and-metadata-in-the-pdf-itself
In fact the answers to this ^^ also states " This question is obsolete, as
okular stores the annotations by default in the original PDF file (as of
version 1.6.2, but I think the transition has happened earlier yet). "

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


More information about the Okular-devel mailing list