[Bug 1935689] [NEW] djvm loses bookmarks on merges with -create

Bill Yikes 1935689 at bugs.launchpad.net
Fri Jul 9 14:18:49 UTC 2021


Public bug reported:

Merging multiple djvu files should not be a lossy operation, apart from
metadata that only has 1 slot (e.g. author, title, etc).  The bookmarks
(aka outline) is lost, not merged:

$ djvused -e 'print-outline' file-a.djvu

(bookmarks
 ("foo"
  "#1" ) )

$ djvused -e 'print-outline' file-b.djvu

(bookmarks
 ("bar"
  "#1" ) )

$ djvm -c mergetest.djvu file-a.djvu file-b.djvu

$ djvused -e 'print-outline' mergetest.djvu

(no output)

This data loss is also undocumented.  While it wouldn't be necessary to
document obvious unavoidable data loss such as doc-wide fields of author
and title, the loss of bookmarks is due to an incomplete implementation.
And it's unexpected.  So this should either be fixed, or the man page
should be updated perhaps with a BUGS section warning users of the data
loss.

** Affects: djvulibre (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to djvulibre in Ubuntu.
https://bugs.launchpad.net/bugs/1935689

Title:
  djvm loses bookmarks on merges with -create

Status in djvulibre package in Ubuntu:
  New

Bug description:
  Merging multiple djvu files should not be a lossy operation, apart
  from metadata that only has 1 slot (e.g. author, title, etc).  The
  bookmarks (aka outline) is lost, not merged:

  $ djvused -e 'print-outline' file-a.djvu

  (bookmarks
   ("foo"
    "#1" ) )

  $ djvused -e 'print-outline' file-b.djvu

  (bookmarks
   ("bar"
    "#1" ) )

  $ djvm -c mergetest.djvu file-a.djvu file-b.djvu

  $ djvused -e 'print-outline' mergetest.djvu

  (no output)

  This data loss is also undocumented.  While it wouldn't be necessary
  to document obvious unavoidable data loss such as doc-wide fields of
  author and title, the loss of bookmarks is due to an incomplete
  implementation.  And it's unexpected.  So this should either be fixed,
  or the man page should be updated perhaps with a BUGS section warning
  users of the data loss.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/djvulibre/+bug/1935689/+subscriptions



More information about the foundations-bugs mailing list