Bug 98732 - Big pdf don't show some bookmarks.
Summary: Big pdf don't show some bookmarks.
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium critical
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-15 03:59 UTC by Max
Modified: 2016-11-23 19:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Example pdf. (3.49 MB, application/zip)
2016-11-15 03:59 UTC, Max
Details
Patch (1.97 KB, patch)
2016-11-16 22:54 UTC, Albert Astals Cid
Details | Splinter Review

Description Max 2016-11-15 03:59:37 UTC
Created attachment 127972 [details]
Example pdf.

I found that all xpdf+poppler libs based PDF viewers has error with bookmarks processing. In big pdf documents with long table of contents with many sublevel, they cut TOC unpredictable. I mean that the document contains certain bookmarks are not shown.

I had test Okular, Evinece, xpdf and other viewers and all of them show the same problem.

I attach a example document in samplebigpdf.zip. It was fixed in Master PDF 3 (bookmarks added for navigation).

In sample file PDF viewers do not show bookmarks:
Chapter I > 1. Some Basic Items  lost "Terms and Definitions"

Chapter I >  2. Binary and Hexadecimal Numbers lost all from 2.10

Chapter II > 3. Conceptual Structure of System Z  lost all from 3.8

and more.

The Adobe PDF Reader, Foxit Reader and PDF.js show all bookmarks.

Thahks!
Comment 1 Albert Astals Cid 2016-11-16 22:54:36 UTC
Created attachment 128028 [details] [review]
Patch

Ignore the end and just go until there's no more next
Comment 2 Albert Astals Cid 2016-11-23 19:26:40 UTC
Fix pushed, will be in next poppler relase.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.