Open Bug 1730129 Opened 3 years ago Updated 2 years ago

[XFA] The print preview rendering layout is incorrectly displayed when the form has both portrait and landscape orientations

Categories

(Firefox :: PDF Viewer, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox-esr78 --- disabled
firefox-esr91 --- disabled
firefox92 --- disabled
firefox93 --- affected
firefox94 --- affected

People

(Reporter: danibodea, Unassigned)

References

Details

(Whiteboard: [pdfjs-printing] [pdfjs-form-xfa])

Attachments

(2 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 layout is incorrect because both the portrait and landscape orientations are found in the same document.

Affected versions

  • Beta v92.0b3

Affected platforms

  • all

Steps to reproduce

  1. Launch browser.
  2. Load the attached PDF file.
  3. Ctrl + P

Expected result

  • The content is properly laid out on the print preview, with both portrait and landscape oriented pages.

Actual result

  • The content that's initially shown in landscape orientation is also displayed in portrait orientation pages, thus breaking the whole layout.

Regression range

  • Not a regression.
QA Whiteboard: [pdf_xfa_generic]
Priority: -- → P3
Flags: needinfo?(cdenizet)
See Also: → 1714327
Depends on: 851441

I think for now only page-size has been implemented but not named pages which could help to have different orientation for different pages.
So here, we should at least rotate the page when printing to avoid this issue.

Flags: needinfo?(cdenizet)
See Also: → 844090
Whiteboard: [pdfjs-c-printing]
Whiteboard: [pdfjs-c-printing] → [pdfjs-printing]
Severity: S2 → S3
Whiteboard: [pdfjs-printing] → [pdfjs-printing] [pdfjs-form-xfa]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: