[XFA] A specific PDF file cannot be printed with input information
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox90 | --- | disabled |
firefox91 | --- | verified |
firefox92 | --- | verified |
People
(Reporter: danibodea, Assigned: calixte)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
Note
- When the user loads a specific PDF file in the browser, inputs information into the fields, and then prints it, he will notice that the print preview and physically printed version does not show any of the previously input information.
Affected versions
- Nightly v91.0a1
Affected platforms
- all
Steps to reproduce
- Launch browser.
- Flip "pdfjs.enableXfa" to true.
- Load the attached PDF file.
- input information into the fields.
- Print it.
Expected result
- The information is printed.
Actual result
- A blank form is printed.
Regression range
- Not a regression.
Additional information
- When interacting with any control from the PDF form, Adobe Reader shows a message saying "Please Note: You cannot save a completed copy of this for your computer. If you would like a copy for your records, please fill it in and print it.", so Adobe does not allow saving a completed version of the form, but allows to print one.
Comment 1•3 years ago
|
||
This might be fixed by https://github.com/mozilla/pdf.js/pull/13734. Calixte, can you check?
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
The checkbox is not printed and it's a regression caused by:
https://github.com/mozilla/pdf.js/commit/429ffdcd2f3340d38426219dbcb84636db583745
Anyway, the above patch will help to avoid such regressions in the future.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
(In reply to Calixte Denizet (:calixte) from comment #3)
The checkbox is not printed and it's a regression caused by:
https://github.com/mozilla/pdf.js/commit/429ffdcd2f3340d38426219dbcb84636db583745
Text fields are not printed either. Is another PR required to fix those, or did https://github.com/mozilla/pdf.js/pull/13734 fix those?
Anyway, the above patch will help to avoid such regressions in the future.
\o/
Assignee | ||
Comment 6•3 years ago
|
||
I confirmed that text fields will be printed thanks to https://github.com/mozilla/pdf.js/pull/13734.
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Comment 8•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 9•3 years ago
|
||
I have confirmed the fix in the latest Nightly and Beta. The information is properly shown in print preview and on the printed version, including checkboxes and radio buttons.
Table borders seem to be missing on print preview and saving is not possible due to the nature of the file. Only blank files can be saved with both Adobe and Firefox.
Reporter | ||
Updated•3 years ago
|
Description
•