Skip to content

Fix 5055 - #5157

Merged
JorjMcKie merged 1 commit into
mainfrom
Fix-5055
Oct 5, 2026
Merged

JorjMcKie merged 1 commit into
mainfrom
Fix-5055

Conversation

@JorjMcKie

Copy link
Copy Markdown
Collaborator

We previously did not correctly interpret so-called "flat" RadioButtonGroups. This resulted in wrong behavior in Document method insert_pdf. This fix introduces a new Page method repair_flat_rbgs() which converts Flat RBGs to standard RBGs with the canonical /Kids <-> /Parent relationship.
The new method is automatically invoked for all source pages if copying widgets is requested via method Document.insert_pdf().
It can also be invoked independently via page.repair_flat_rbgs().

We previously did not correctly interpret so-called "flat" RadioButtonGroups.
This resulted in wrong behavior in Document method `insert_pdf`.
This fix introduces a new Page method `repair_flat_rbgs()` which converts Flat RBGs to standard RBGs with the canonical /Kids <-> /Parent relationship.
@JorjMcKie
JorjMcKie merged commit 9277f89 into main Oct 5, 2026
3 checks passed
@JorjMcKie
JorjMcKie deleted the Fix-5055 branch October 5, 2026 10:04
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants