Skip to content
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

Annotation storage modification state is not cleared when printed #12262

Closed
timvandermeij opened this issue Aug 22, 2020 · 0 comments · Fixed by #12265
Closed

Annotation storage modification state is not cleared when printed #12262

timvandermeij opened this issue Aug 22, 2020 · 0 comments · Fixed by #12265

Comments

@timvandermeij
Copy link
Contributor

Steps to reproduce:

  1. Go to https://mozilla.github.io/pdf.js/web/viewer.html.
  2. Open https://github.com/mozilla/pdf.js/blob/master/test/pdfs/annotation-text-widget.pdf.
  3. Edit a text field.
  4. Print the document (to a file or paper).
  5. Navigate away from the viewer.

Notice you'll get a warning about unsaved work. I think this is because we handled this for saving a document, but not for printing it. I would expect it to behave the same, so when a print is made, the annotation storage modification state should be cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant