Open Bug 1726376 Opened 3 years ago Updated 2 years ago

[XFA] An extra empty page is shown in print preview

Categories

(Firefox :: PDF Viewer, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox91 --- unaffected
firefox92 --- disabled
firefox93 --- wontfix
firefox94 --- wontfix

People

(Reporter: danibodea, Unassigned)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [pdfjs-printing] )

Attachments

(1 file)

Note

  • When the user loads a specific PDF file and prints it, he will notice that the browser's printed version adds an extra empty page to the bottom.

Affected versions

  • Nightly v92.0b5

Affected platforms

  • all

Steps to reproduce

  1. Launch browser.
  2. Flip "pdfjs.enableXfa" to true.
  3. Load the attached PDF file.
  4. Notice the number of pages it has; Then Ctrl + P
  5. Scroll to the bottom of the print preview.

Expected result

  • The print preview has the same number of pages as the document itself. It has no empty pages at the end.

Actual result

  • The print preview has an extra page as the document itself. An empty page is observed at the bottom.

Regression range

Additional information

  • Appears to be a general issue.

New information about this issue is that the extra empty page appears in print preview on ALL tested PDF forms and, more importantly, when physically printing them, the extra page is not being output. It only shows in print preview.

QA Whiteboard: [pdf_xfa_generic]
Priority: -- → P3
Whiteboard: [pdfjs-c-printing]

This is a regression from https://github.com/mozilla/pdf.js/pull/13852

And this PR is related to https://bugzilla.mozilla.org/show_bug.cgi?id=1723705, which is reopened.

Has Regression Range: --- → yes
Whiteboard: [pdfjs-c-printing] → [pdfjs-printing]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: