Bug 471399

Summary: Add support for subpage navigation
Product: [Applications] okular Reporter: Jussi Pakkanen <jpakkane>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Sample PDF document

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).