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

2023-03-01 Thread JDT
https://bugs.kde.org/show_bug.cgi?id=466673

Bug ID: 466673
   Summary: Add ability to save highlighting and annotations in
file
Classification: Applications
   Product: okular
   Version: unspecified
  Platform: Ubuntu
OS: Linux
Status: REPORTED
  Severity: wishlist
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: johndoe...@protonmail.ch
  Target Milestone: ---

SUMMARY
Current versions of Okular do not bundle annotations and highlighting in the
file. The annotations are not accessible when the pdf is opened in a different
program or on a different device (e.g. on an iPad). 

Requests: 
1) Add ability to save as a pdf which includes highlighting and annotations in
file
2) Add ability to make this setting the default


STEPS TO REPRODUCE
1. Open PDF (typically from iPad via cloud storage)
2. Add annotation (highlighting, sticky note, etc)
3. Save (or Save as)
4. Open in iPad (or another app)
5. Annotations gone

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 22.04.2 LTS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: Stock

ADDITIONAL INFORMATION

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

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

2023-03-01 Thread JDT
https://bugs.kde.org/show_bug.cgi?id=466673

--- Comment #6 from JDT  ---
So, I'm puzzled. Why does the documentation still speak of the problem. I
checked and this page is in the current manual:
https://docs.kde.org/stable5/en/okular/okular/annotations.html

Adobe reader is the reference implementation but it is not available on Linux
and hasn't been for a while.

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

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

2023-03-01 Thread JDT
https://bugs.kde.org/show_bug.cgi?id=466673

JDT  changed:

   What|Removed |Added

 Resolution|NOT A BUG   |---
 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1

--- Comment #2 from JDT  ---
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. 

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
https://unix.stackexchange.com/questions/395599/customize-the-folder-where-okular-saves-annotations
 
https://unix.stackexchange.com/questions/71584/storing-okular-pdf-annotations-and-metadata-in-the-pdf-itself

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

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

2023-03-01 Thread JDT
https://bugs.kde.org/show_bug.cgi?id=466673

--- Comment #3 from JDT  ---
I suspect the design decision is tied to either
1) adding the ability to read and mark up all sorts of documents or
2) imitate some PDF library programs that do the same thing (in order to make
it easier to search annotations across an entire library)

Whatever the design motivation, until there's a way to embed stuff back into
the PDF, it effectively makes PDFs used with Okular into a Non Portable
Document Format. Kind of an ironic decision when the source is open but it
makes the format closed.

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