Bug 421235 - No way to share annotations
Summary: No way to share annotations
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-09 17:49 UTC by Andreas Hurka
Modified: 2020-05-09 18:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
okular-file that cannot be saved as pdf with annotations (10.21 KB, application/vnd.kde.okular-archive)
2020-05-09 18:16 UTC, Andreas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hurka 2020-05-09 17:49:31 UTC
SUMMARY
It seems that there is currently no way to share annotations to pdf-files made in okular with users on other devices. All options remove / destroy them.

STEPS TO REPRODUCE
1. open a pdf-document and add annotations like text and highlighter / open .okular-file with such annotations
2. try to save it in a way, that others can open it and see the annotations

OBSERVED RESULT
saving as .pdf seems to not be possible / supported
saving as .okular results in the annotations moving to places they don't belong (probably a version-issue between manjaro-repos and neon-repos (just my guess)) and probably cannot be opened by other pdf-readers
exporting as pdf removes annotations
printing removes annotations

EXPECTED RESULT
having the option to save the annotations as part of the pdf-file

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: kde-neon 5.18 user edition / manjaro-kde user edition (both up to date)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
the annotations aren't there in html and Open-Document exports as well.
Comment 1 Andreas Hurka 2020-05-09 17:54:29 UTC
My bad, I forgot to mention: It's version 1.10.0 of okular.
I didn't specify it at the top, because the drop down menu stops with the 1.* at 1.9.80 and continues with 20.04.0, which I am not sure if it's the same as 1.10.0.
Comment 2 Yuri Chornoivan 2020-05-09 18:04:35 UTC
I cannot reproduce this behavior locally. Okular annotations (1.10, poppler 0.87) can be saved in PDF and read in Foxit Reader and Google Chromium.

Does it happen for every file or just some files (if so can you attach one of those files to this bug report?)?

Thanks in advance for your answer.
Comment 3 Andreas Hurka 2020-05-09 18:16:01 UTC
Created attachment 128305 [details]
okular-file that cannot be saved as pdf with annotations
Comment 4 Andreas Hurka 2020-05-09 18:17:45 UTC
As I am not the one who created this file, but received a from a friend seeking help, I don't know exactly, what happened to it. With other files I can save the annotations. I'm sorry for not testing enough on that part in the beginning.
Comment 5 Yuri Chornoivan 2020-05-09 18:38:17 UTC
(In reply to Andreas Hurka from comment #4)
> As I am not the one who created this file, but received a from a friend
> seeking help, I don't know exactly, what happened to it. With other files I
> can save the annotations. I'm sorry for not testing enough on that part in
> the beginning.

Yes, it seems that there is no way to save annotations from .okular file to .pdf now, but the file and annotations are readable in Okular. The original file can be easily exported from the archive (File -> Export as -> PDF).

The only thing I can recommend is that if you want to share PDF you should save in PDF (annotations can be removed or edited later without data loss).