Skip to content

Fix missing /P attribute in copied widget annotations#169

Merged
nonprofittechy merged 1 commit into
mainfrom
fix/pdf-field-page-reference
Jun 9, 2026
Merged

Fix missing /P attribute in copied widget annotations#169
nonprofittechy merged 1 commit into
mainfrom
fix/pdf-field-page-reference

Conversation

@nonprofittechy

Copy link
Copy Markdown
Member

When copying widget annotations using , the (Page) attribute retains its original reference (or gets removed/orphaned). This causes PDF viewers like Acrobat or Docassemble to fall back to rendering fields on the first page instead of their actual intended page. This patch explicitly assigns the attribute to for all copied annotations.

@nonprofittechy nonprofittechy merged commit 08cac8c into main Jun 9, 2026
2 checks passed
@nonprofittechy nonprofittechy deleted the fix/pdf-field-page-reference branch June 9, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant