Closed Bug 1717828 Opened 4 years ago Closed 4 years ago

[XFA] A specific section is incorrectly pushed down to the next page

Categories

(Firefox :: PDF Viewer, defect, P2)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox90 --- disabled
firefox91 --- verified
firefox92 --- verified

People

(Reporter: danibodea, Unassigned)

References

Details

Attachments

(7 files)

Note

  • When the user loads a specific PDF file in Adobe Reader and hen in Nightly and compares pages 5-6, he will notice that a section is incorrectly pushed down to the next page.

Affected versions

  • Nightly v91.0a1

Affected platforms

  • all

Preconditions

  • Flip the "pdfjs.enableXfa" pref to true.

Steps to reproduce

  1. Launch browser.
  2. Load the attached PDF file.
  3. Scroll to pages 5-6.

Expected result

  • The "Civil, Family and Tribunals:" section is displayed on page 5.

Actual result

  • The "Civil, Family and Tribunals:" section is displayed on page 6.

Regression range

  • Not a regression, but an implementation flaw.
No longer depends on: 1717820
Attached image this too.png

It may be important to notice that this "C3" note is also displayed where it's not supposed to and may be a cause in the original issue.

It's likely a layout issue (lr-tb) caused by a missing font (courier).

Priority: -- → P2
Attached file poppler-39826-0.pdf

This issue also occurs in the case of this PDF. The whole table is being pushed down to the 2nd page.
It is unknown whether the same issue as the original PDF file causes this behavior so it will be separately addressed if that's the case.

Attached image pushed down table 2.png

Demo on PDF above.

This issue can also be observed on the attached PDF; All data is pushed down to the second page. The first page is blank. Let us know if you want us to log a separate report for it.

Attached image first page is blank.png

Demo for the PDF file above.

After the last fix pushed:

  • 702a3385-08d8-4297-ba20-1628fef3de14.pdf - still occurs!
  • poppler-39826-0.pdf - appears FIXED.
  • 20131122_114139_LG2U_A042BCF9A661752748257C2A00239E85.1.pdf - appears FIXED.
QA Whiteboard: [pdf_xfa_generic]

Test results today:

  • 702a3385-08d8-4297-ba20-1628fef3de14.pdf
    ** Nightly v92.0a1 - fixed
    ** Beta v91.0b6 - fixed

  • poppler-39826-0.pdf
    ** Nightly v92.0a1 - fixed
    ** Beta v91.0b6 - fixed

  • 20131122_114139_LG2U_A042BCF9A661752748257C2A00239E85.1.pdf
    ** Nightly v92.0a1 - fixed
    ** Beta v91.0b6 - fixed

This is the change that fixed the issue of the first pfd:
Bug 1720361 - Update pdf.js to version 2.10.316 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D119800

This is the change that fixed the issue of the last pfd:
Bug 1719380 - Update pdf.js to version 2.10.263 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D119237

Setting as fixed.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(cdenizet)
Resolution: --- → FIXED

Verified in Nightly v92.0a1 and Beta v91.0b6.

Status: RESOLVED → VERIFIED
Flags: needinfo?(cdenizet)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: