Bug 504927 - View PDF layers in sidebar
Summary: View PDF layers in sidebar
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-28 17:12 UTC by Nathan Upchurch
Modified: 2025-05-28 19:53 UTC (History)
1 user (show)

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


Attachments
A screenshot of Inkscape's layer view panel. (27.75 KB, image/png)
2025-05-28 17:12 UTC, Nathan Upchurch
Details
An example PDF with layers (1.60 KB, application/pdf)
2025-05-28 17:12 UTC, Nathan Upchurch
Details

Note You need to log in before you can comment on or make changes to this bug.
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!