Layers panel: Reset to Initial Visibility

Layer options in the Layers panel header resets every layer to the state the
file's default configuration (/OCProperties /D) gives it, as Acrobat does.
Visibility is view state, so the reset doesn't mark the document changed and
doesn't enter Undo. doc_info now reports each layer's initial state.
This commit is contained in:
Marco Arnulfo committed 2026-10-18 18:56:40 +02:00
1 parent 98cbd38a8e
commit fcdf2a2146
34 files changed
+205 -32

No files matched your search

+4 -4
View File
@@ -1331,11 +1331,11 @@ title = "Reset layers to initial visibility; list for all or current pages"
area = "B"
tier = "P2"
milestone = "M12"
status = "planned"
status = "partial"
commands = []
tools = []
evidence = []
notes = ""
tools = ["doc_info"]
evidence = ["crates/engine/src/tests.rs::reset_layers_returns_to_the_files_visibility", "crates/render/src/inspect.rs::initial_layer_visibility_is_the_default_configuration"]
notes = "Layers panel ▸ Layer options ▸ Reset to Initial Visibility shows each layer as the default configuration (/OCProperties /D) has it; doc_info reports it as `initial`. Not yet: listing the layers of all pages or the current page only."
[[feature]]
id = "view.destinations-panel"