Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outline items are not opened/closed correctly #12704

Closed
JanSlabon opened this issue Dec 8, 2020 · 1 comment · Fixed by #12712
Closed

Outline items are not opened/closed correctly #12704

JanSlabon opened this issue Dec 8, 2020 · 1 comment · Fixed by #12712
Labels

Comments

@JanSlabon
Copy link

Attach (recommended) or Link to PDF file here: outline.pdf

Configuration:

  • Web browser and its version: Firefox (83.0)
  • Operating system and its version: Win 10 Pro
  • PDF.js version: 2.7.345
  • Is a browser extension: no (but should be independent)

Steps to reproduce the problem:

  1. Open the PDF in PDF.js Viewer
  2. Open the bookmark outline

What is the expected behavior?
grafik

What went wrong?
grafik
C.A should be closed.

For me it looks like an issue which is caused only if the node that should be closed indcludes "open" nodes. This looks like a wrong interpretation of the /Count entry in outline items.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://mozilla.github.io/pdf.js/web/viewer.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants