Open Bug 1718048 Opened 3 years ago Updated 2 years ago

Fields format doesn't work on PDF

Categories

(Firefox :: PDF Viewer, defect, P3)

Firefox 91
Desktop
All
defect

Tracking

()

Tracking Status
firefox90 --- disabled
firefox91 --- affected

People

(Reporter: rpopovici, Unassigned)

References

Details

(Whiteboard: [pdfjs-form-xfa])

Attachments

(8 files)

Tested with:
Nightly 91.0a1 (2021-06-23)

Tested on:
Win 10

Preconditions:
In about:config, set pdfjs.enableXfa = true

Steps:

  1. Launch firefox
  2. Open the attached pdf.
  3. Go to "Salaire en dollars canadiens et nombre d'heures travaillées"

Actual result:

  1. "Montant horaire", "Montant annuel" and "Montant horaire pour les heures supplémentaires" fields has no format with $ and ,00 .
  2. "Nombre total d'heures de travail par jour", "Nombre total d'heures de travail par semaine", "Nombre total d'heures de travail par mois" and "qui s'applique après... heures" max length is not applied.

Expected result:

  1. "Montant horaire", "Montant annuel" and "Montant horaire pour les heures supplémentaires" fields should have a format with $ and ,00 .
  2. "Nombre total d'heures de travail par jour", "Nombre total d'heures de travail par semaine", "Nombre total d'heures de travail par mois" and "qui s'applique après... heures" max length should be applied.
No longer depends on: 1716294, 1717132
Attached image Nightly.png
Attached image AdobeR.png
Priority: P1 → P2
QA Whiteboard: [pdf_xfa_generic]

This issue can be found in section 27, on page 2.
It also occurs on other platforms.

OS: Windows 10 → All

This issue also occurs on the date fields of this PDF file and looks especially unaesthetic.

Probably related, the input fields that have separators and are grouped together, get displayed in PDF.js as one large input field. Please see my example.

@tct: Please also attach the PDF to the bug when mentioning it as reproducing an issue.
Thank you for your help!

Flags: needinfo?(t)

This PDF shows the most fields with this issue so far.

Cancelling needinfo on tct since they are not replying.

Flags: needinfo?(t)
Priority: P2 → P3
Whiteboard: [pdfjs-form-xfa]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: