Bug 504927

Summary: View PDF layers in sidebar
Product: [Applications] okular Reporter: Nathan Upchurch <nathan>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: aacid
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A screenshot of Inkscape's layer view panel.
An example PDF with layers

Description Nathan Upchurch 2025-05-28 17:12:09 UTC
Created attachment 181833 [details]
A screenshot of Inkscape's layer view panel.

SUMMARY
In  other PDF viewers, it is possible to view PDF layers. This is important in print / digital proofing workflows, where one layer might contain a dieline for cutting and creasing, another may show an image to be printed, and another might show areas to be glued.

Specifics:
--------------------------------------------------------------------
* A tree-style diagram in the sidebar that shows layer names and hierarchy (see attachment)
* Layer visibility can be toggled by clicking on an icon beside the layer name


Bonus feature that would also be very useful:
--------------------------------------------------------------------
* Ability to toggle whether or not a layer will be printed
Comment 1 Nathan Upchurch 2025-05-28 17:12:37 UTC
Created attachment 181834 [details]
An example PDF with layers
Comment 2 Albert Astals Cid 2025-05-28 19:27:39 UTC
There are no layers in that file document. (Assuming that by layers you mean Optional Content Groups, which is the only feature of PDF similar to what you are describing).
Comment 3 Nathan Upchurch 2025-05-28 19:53:43 UTC
(In reply to Albert Astals Cid from comment #2)
> There are no layers in that file document. (Assuming that by layers you mean
> Optional Content Groups, which is the only feature of PDF similar to what
> you are describing).

Whoops, looks like I exported for 1.4 compatibility, which doesn't support layers. Sorry for the noise!