Skip to content

Warning in the console when printing a pdf with an added annotation #17000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
calixteman opened this issue Sep 21, 2023 · 0 comments · Fixed by #17003
Closed

Warning in the console when printing a pdf with an added annotation #17000

calixteman opened this issue Sep 21, 2023 · 0 comments · Fixed by #17003

Comments

@calixteman
Copy link
Contributor

Configuration:

  • Web browser and its version: Firefox nightly
  • Operating system and its version: Windows 11

Steps to reproduce the problem:

  1. Open a pdf
  2. Draw something on it
  3. Print

What went wrong? (add screenshot)
In the console:
Warning: Unknown field name, falling back to empty field name.

I think it's a regression from:
https://github.com/mozilla/pdf.js/pull/16920/files#diff-a7e409abd3d3209d32d3adc8457c5e23feb4c06113a2e065b0c6a9322a3a3369R662

before we were here only when collecting the annotations for the document and now we do it when there's a pageIndex in the params.
And we build some annotations when printing a document with new annotations so it's very likely the root cause.

@Snuffleupagus, would you mind to have a look ?

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 a pull request may close this issue.

1 participant