Bug 98732

Summary: Big pdf don't show some bookmarks.
Product: poppler Reporter: Max <fmaksim74>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Example pdf.
Patch

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.