[okular] [Bug 457017] New: Bookmarks stored in a file next to PDF

Tymek bugzilla_noreply at kde.org
Fri Jul 22 14:42:23 BST 2022


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

            Bug ID: 457017
           Summary: Bookmarks stored in a file next to PDF
           Product: okular
           Version: unspecified
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: tymmek at gmail.com
  Target Milestone: ---

Hello,

I use Okular with PDF files that are synchronized between different computers. 
I understand that all bookmarks are saved in 'bookmarks.xml', using absolute
file paths in the following locations (Linux):

Native version
~/.local/share/okular/bookmarks.xml

Flatpak version
~/.var/app/org.kde.okular/data/okular/bookmarks.xml

It would be great to be able to easily synchronize bookmarks created by Okular.
 What if there existed an option under settings to store bookmarks in a file in
the same directory as the PDF, using the same filename (+ a unique identifier)
but with an XML extension?  This would do away with having to store the
absolute filename paths in the XML file, essentially making bookmarking a
feature easily available in a wide variety of workflows (e.g., Google Drive,
Dropbox, Syncthing).  It would also allow cross-platform compatibility.  Other
metadata (e.g., last viewed page, last viewing style) could be added to the
same XML file in time if desired.

Currently being able to access bookmarks from all files in one window is a very
neat feature. I understand that this feature would probably be lost (or
possibly made unnecessarily complicated to re-implement), but having my
proposed feature set as an option would allow the user to choose what they feel
is best for their workflow.
Another approach would be having Okular first check for a local XML file (i.e.,
same directory as the PDF), then resorting to opening the standard
bookmarks.xml if no such a file is found.

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


More information about the Okular-devel mailing list