[XFA] The table frames aren't displayed in print preview when the browser window is not maximized
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
People
(Reporter: danibodea, Unassigned)
References
Details
(Whiteboard: [pdfjs-printing] )
Attachments
(3 files, 1 obsolete file)
Note
- When the user loads a specific PDF file and prints it, he will notice that the table frames are not displayed in the print preview. However, they appear to be displayed on the printed version (tested with print as PDF).
Affected versions
- Nightly v92.0a1
Affected platforms
- all
Steps to reproduce
- Launch browser.
- Flip "pdfjs.enableXfa" to true.
- Load the attached PDF file.
- Ctrl + P
Expected result
- The print preview renders the table frames.
Actual result
- The print preview does not render tables' frames.
Regression range
- Not a regression.
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
I see the borders myself. Daniel, could you test again?
Maybe it was fixed by the latest pdf.js update (bug 1721179).
Reporter | ||
Comment 3•3 years ago
|
||
I don't understand why I can't reproduce this issue anymore, nor on the latest version, neither on the originally reported version.
It might be a third-party cause. Closing as worksforme. Keeping an eye out for it.
Reporter | ||
Comment 4•3 years ago
|
||
I can see this reproduce again in Nightly v92.0a1 (20210721212617)
And it does NOT reproduce in Beta v91.0b5 (20210720190304)
But I cannot seem to find a "good" build using mozregression
It appears that this issue only reproduces in the Nightly channel.
Reporter | ||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
The only difference between Nightly and Beta 5 should be bug 1721179.
Updated•3 years ago
|
Reporter | ||
Comment 7•3 years ago
|
||
I've found the cause of reproduction of the issue. It is NOT a regression. The table frames are only displayed if the browser is maximized. If the browser window has any other shape other than the whole available display, the frames are not displayed in print preview.
Comment 8•3 years ago
|
||
The print preview rescales itself to fit the window and so some thin lines may disappear because of that.
It's likely the case here, and at the end lines are printed in the resulting pdf so I'd say that isn't a bug in pdf.js.
Eventually it can be one for the print preview but I'm not sure that something can be done to improve this.
Reporter | ||
Comment 9•3 years ago
•
|
||
The first PDF attached has the behavior discussed in this bug (borders not displayed in print preview if the browser is not maximized).
The other PDF does not show table borders even if the browser is maximized. The second PDF will be rendered obsolete here and reattached to bug 1723806.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 10•3 years ago
|
||
Another PDF with this behavior.
Reporter | ||
Comment 11•3 years ago
|
||
This issue is NOT visible in physically printed PDF forms. Appear to be an issue of print preview only.
Reporter | ||
Comment 12•3 years ago
|
||
Considering comment 8, if this is considered as not an issue of pdf.js, please remove the "blocks" bug and the QA Whiteboard. Thanks.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•