[okular] [Bug 404803] please restore old behaviour for storing PDF annotations in separate file

David Hurka bugzilla_noreply at kde.org
Tue Feb 26 13:13:45 GMT 2019


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

--- Comment #5 from David Hurka <david.hurka at mailbox.org> ---
This dates back to... long ago?

There are basically these commits (and probably others) which introduced this
message (KMessageWidget *Okular::Part::m_migrationMessage):

commit 34f40b2c6f301a8eab1ea244aab5d281a0384a9b
Author: Albert Astals Cid <albert.astals.cid at kdab.com>
Date:   Mon Nov 13 15:35:06 2017 +0100
    Tweak migrationMessage text a bit

commit 8a1acdcd6a0ce93c062f549c5f02dc38694cc9f2
Author: Fabio D'Urso <fabiodurso at hotmail.it>
Date:   Wed Sep 10 12:01:58 2014 +0200
    Non-blocking docdata/ migration message

commit e059d2652caf965f2ca20f5da666d64db4672a80
Author: Fabio D'Urso <fabiodurso at hotmail.it>
Date:   Tue Sep 9 16:08:32 2014 +0200
    core: support for migration of annots and forms out of docdata/

But apparently, this support already has existed before?:
https://mail.kde.org/pipermail/okular-devel/2013-March/014510.html

> > Another functionality that would be helpful to me and I have not found a
> > way to get around:  I now have hundreds of marked up PDFs.  The
> > annotations are all in $(kde4-config
> > --localprefix)/share/apps/okular/docdata/ and I would like to export all
> > of my library of marked up PDFs into PDFs with embedded annotations.
> > Any idea how I could do this?
> 
> There's no automated way to do this. You have to open and "Save As" each file 
> separately.
> [...]
> Fabio

I think you should be glad that you upgraded, with a reinstallation you would
have lost all the annotations.

Considering such cases, it is probably fine to save the annotations inside the
PDF file. See also: Bug 151614

Exporting annotations to an XML file could be useful, but apparently Okular
does not do that. Bug 151614 has a "quick and dirty" program to do the
opposite, which could help you to migrate your annotations.

What remains, is to invert the message, so it fits its meaning.

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


More information about the Okular-devel mailing list