Closed
Bug 1720159
Opened 3 years ago
Closed 3 years ago
[XFA] Only the first page gets rendered in the printed version
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: danibodea, Assigned: calixte)
References
Details
Attachments
(3 files)
Note
- When the user loads a specific PDF file in Adobe Reader and prints it, he will notice that the browser's printed version only renders the first page and the rest are left blank.
Affected versions
- Nightly v91.0a1
Affected platforms
- all
Steps to reproduce
- Launch browser.
- Flip "pdfjs.enableXfa" to true.
- Load the attached PDF file.
- Ctrl + P
Expected result
- Both the print preview and the physically printed version have more than one rendered page.
Actual result
- Both the print preview and the physically printed version only render the information on the first page; the rest of the pages are displayed as blank or almost blank.
Regression range
- Not a regression.
Priority: -- → P1
Reporter | ||
Comment 1•3 years ago
|
||
I've unintentionally set the priority. Please set the correct priority level.
Assignee | ||
Comment 2•3 years ago
|
||
It's a no-go, so P1-S1 is the perfect combo for this bug.
Any way thanks to git bisect
, I managed to get the culprit:
https://github.com/mozilla/pdf.js/commit/ff440d13e7a6462238b7e931fbac163f69403278
In this patch a div for the page itself was added and it's likely the cause of the issue.
Adding
#printContainer .xfaPage {
position: initial;
}
in viewer.css when printing fix the issue locally.
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Comment 3•3 years ago
|
||
Comment 4•3 years ago
|
||
Commit merged into master by GitHub
Authored by calixteman (calixteman)
Updated•3 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•3 years ago
•
|
||
Confirming the fix. The other pages are now displayed in the print version.
Status: RESOLVED → VERIFIED
Comment 6•3 years ago
|
||
Fixed in beta by the uplift in bug 1720361.
Reporter | ||
Updated•3 years ago
|
QA Whiteboard: [pdf_xfa_generic]
You need to log in
before you can comment on or make changes to this bug.
Description
•