mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-28 20:18:06 -06:00
M3: a closed top-level bookmark opens closed (ISO 32000-2 Table 151 /Count) (#4389)
The Bookmarks panel opened every top-level bookmark whatever its /Count said, so a bookmark with a negative /Count showed its children. Every level now starts as its /Count says (positive open; negative or missing closed). The reader's toggles and a search still override it. Moving a bookmark into a different parent (Indent) now opens that parent, as adding one already did; the forced top-level open used to hide that it stayed closed. Claude-Session: https://claude.ai/code/session_0175FWj4xFhMhSH3UpMU8DSC Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
2ac1df2f1f
commit
5f64994b4d
@@ -3363,8 +3363,8 @@ milestone = "M4"
|
||||
status = "shipped"
|
||||
commands = ["file.properties"]
|
||||
tools = []
|
||||
evidence = ["crates/ui-egui/tests/it/bookmarks.rs::expanding_and_collapsing_all_bookmarks"]
|
||||
notes = "Bookmarks panel options: expand all, expand top-level, collapse all"
|
||||
evidence = ["crates/ui-egui/tests/it/bookmarks.rs::expanding_and_collapsing_all_bookmarks", "crates/ui-egui/tests/it/bookmarks.rs::a_closed_top_level_bookmark_opens_closed", "crates/organize/src/tests.rs::bookmarks_add_rename_move_delete"]
|
||||
notes = "Bookmarks panel options: expand all, expand top-level, collapse all. Each bookmark, top level included, opens as its /Count says (positive open; negative or missing closed, ISO 32000-2 Table 151); the triangle toggles it for the session and a search shows matches inside closed ones. Adding or moving a bookmark into another opens that one. Missing: the open/closed state the reader sets is not written back to /Count on save"
|
||||
|
||||
[[feature]]
|
||||
id = "organize.bookmarks-from-structure"
|
||||
|
||||
Reference in New Issue
Block a user