Bug 471399 - Add support for subpage navigation
Summary: Add support for subpage navigation
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-23 19:34 UTC by Jussi Pakkanen
Modified: 2023-06-23 19:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Sample PDF document (2.91 KB, application/pdf)
2023-06-23 19:34 UTC, Jussi Pakkanen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jussi Pakkanen 2023-06-23 19:34:34 UTC
Created attachment 159868 [details]
Sample PDF document

It is possible to create PDFs that work like presentations, i.e. have bullet items appear and disappear within a single page.

This is done with Optional Content Groups, which Okular already supports. However navigation within a page that uses the PresSteps dictionary (PDF spec 2.0, 12.4.4.2) does not work even in presentation mode.

I have attached a simple PDF document that has subpage navigation. The only way to see how it should really work is to open it in Acrobat Reader, start presentation mode and keep tapping the right arrow (or left, if you want to go backwards). No other PDF viewer software I tried handles subpage navigation.

Note that this part of the PDF spec is not particularly well documented. [Here's a relevant bug in the PDF association's bug tracker](https://github.com/pdf-association/pdf-issues/issues/304).