Bug 188123 - ~/.kde/share/apps/okular/docdata/* should be saved alongside the PDF document
Summary: ~/.kde/share/apps/okular/docdata/* should be saved alongside the PDF document
Status: RESOLVED DUPLICATE of bug 151614
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.7.4
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 01:39 UTC by Mark
Modified: 2009-03-26 10:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2009-03-26 01:39:42 UTC
Version:           0.7.4 (using KDE 4.1.4)
OS:                Linux
Installed from:    Ubuntu Packages

The annotations xml files should be stored alongside the PDF documents because the only safe place is where I am actually putting the PDF files -- desktop files (incl ~/.kde) and such stuff often get deleted during OS upgrades (KDE behaves so horribly bad when it comes to upgrading over a previous release...).

Possible additional configuration options for okular:

(X) Store data under default location
(X) Store data under custom location: _________________
(X) Store data alongside the document if possible.
  (X) Warn if not possible.

Show dialog if xml data file (annotations) are found at more than one position.
Comment 1 Pino Toscano 2009-03-26 01:51:08 UTC
Everything that's in ~/.kde/share/apps/okular/ is meant to be purely internal, and thus no visible options for it will ever be created.
Furthermore, there is not only annotations there, so xml files there have actually real purpouse, aside annotations.
If the real issue is "please save the annotations in the PDF document itself", then this is bug #151614, which is not a trivial job (so -no- need to repaste this report over there, please).

*** This bug has been marked as a duplicate of bug 151614 ***
Comment 2 Mark 2009-03-26 03:14:19 UTC
It makes no sense to work on some document when that work is only stored internally. If putting it into the PDF is so difficult, then why not storing it alongside the PDF in an okular-specific XML file? Without that, the whole functionality is totally useless for me.
Comment 3 Pino Toscano 2009-03-26 10:48:50 UTC
(In reply to comment #2)
> It makes no sense to work on some document when that work is only stored
> internally.

As long as the format used is 100% Okular-specific, I don't see the problem.

> If putting it into the PDF is so difficult, then why not storing it
> alongside the PDF in an okular-specific XML file?

You should give a try to the archiving function (see File -> Export to -> Document Archive).