Bug 305412

Summary: Enh: ability to save annotations metadata in the same dir the file is
Product: [Applications] okular Reporter: Tomás Cohen Arazi <tomascohen>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: 4aa7f31e, aacid, amy, azrdev, erwan.bousse, ledjazz, null
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description Tomás Cohen Arazi 2012-08-18 23:36:58 UTC
I'd suggest allowing the user to have the annotations metadata saved in a file (perhaps a hidden one) that sits in the same dir the opened file is. It could even be the default behaviour.

The motivation is PORTABILITY of that metadata (think of PDFs saved in Ubuntu One folders for example).



Reproducible: Always
Comment 1 Albert Astals Cid 2012-08-19 17:05:58 UTC
You know you can export as okular archive, a file that contains the original file and the annotaions?
Comment 2 Tomás Cohen Arazi 2012-08-20 15:58:06 UTC
Thanks Albert for your reply. I'm aware of that feature. I don't count it as portable in the sense of carrying your PDF's around with your notes (UbuntuONe, Box, OwnCloud, etc).
You would need to create packages for all your files, and you won't be able to open them with other viewer than okular (which I of course love :-D)

I'd like to have something like this:

~/Documents/MY_FILE.pdf
~/Documents/.MY_FILE.pdf.okular

And perhaps fallback to having a copy of that notes in .kde/

If I have the time soon I'll try to bring a patch for that but I haven't coded C++ for a long time.
Comment 3 Albert Astals Cid 2012-08-20 17:56:19 UTC
I understood your suggestion, i only highlighted the solution we have for the sharing problem.
Comment 4 Tomás Cohen Arazi 2012-08-20 18:48:55 UTC
(In reply to comment #3)
> I understood your suggestion, i only highlighted the solution we have for
> the sharing problem.

What do u think of my proposal? Might be of interest for the rest of the users?
Comment 5 Albert Astals Cid 2012-08-20 19:46:22 UTC
To be honest, i have no clue, what's why we have the "vote" feature on bugzilla :D
Comment 6 erwan.bousse 2012-11-26 13:49:01 UTC
This feature would be great indeed. I'm adding my vote.
Comment 7 Amy de Buitléir 2014-07-09 10:25:54 UTC
Alternatively, https://bugs.kde.org/show_bug.cgi?id=228114 or https://bugs.kde.org/show_bug.cgi?id=315552 would satisfy my use case (making and seeing annotations on the same document from multiple machines).
Comment 8 null 2017-11-26 22:46:45 UTC
Bug 315552 and Bug 228114 are now fixed, the feature to save to PDF directly will be available in KDE Applications 17.12. If you still want to keep an unmodified version around, you'd have to use "Save As".