Open Bug 1717865 Opened 3 years ago Updated 6 months ago

Radio buttons from the PDF has too many selectable choices

Categories

(Firefox :: PDF Viewer, defect, P2)

Firefox 91
Desktop
Windows 10
defect

Tracking

()

Tracking Status
firefox89 --- disabled
firefox90 --- disabled
firefox91 --- disabled
firefox92 --- disabled
firefox93 --- wontfix
firefox94 --- wontfix

People

(Reporter: rpopovici, Unassigned)

References

(Blocks 1 open bug)

Details

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

Attachments

(12 files)

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

Tested on:
Win 10

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

Steps:

  1. Launch firefox
  2. Open the attached pdf.

Actual result:
Checkboxes from the attached PDF has too many selectable choices.

Expected result:
Checkboxes from the attached PDF should have only one selectable choice as in Adobe

No longer depends on: 1716293
Attached image nightly.png
Attached image 2021-06-23_18h25_58.png

This issue also occurs on the attached PDF file, page 9, "Part E: For completion by Court/Tribunal staff only", sections E2, E4, E5, E6. Interestingly enough, it does not occur in the case of sections E1, E7, E8.

Demo for the mention above.

This issue also occurs in the case of the attached PDF, Section 3 on page 2.

Priority: -- → P2

Checkboxes are not in an exclgroup so it's very likely a matter of action in JS here which can make checkboxes behave like radio buttons.

Recognizing as a generic XFA since the blocking bug is bug 1706133. Please change it if it is related to a dynamic XFA issue.

QA Whiteboard: [pdf_xfa_generic]
Attached file poppler-56913-0.pdf

This issue also occurs in the case of the attached PDF file in section D, point 1 and in Part 2 from page 1 ... and in other places in the document.

Blocks: 1717661
No longer blocks: pdf-xfa
QA Whiteboard: [pdf_xfa_generic] → [pdf_xfa_dynamic]
Attached file imm5257e.pdf

The reported issue also occurs on the attached PDF file, at the bottom of page 2, in the "Telephone no.", "Alternative Telephone no." and "Fax no." sections.

This issue is also discovered in the attached PDF, page 2, Employed person vs Self-employed person checkboxes/radio buttons.

Summary: Checkboxes from the PDF has too many selectable choices → Radio buttons from the PDF has too many selectable choices

This issue also occurs in this PDF; basically the same situation as the last attached PDF.

Whiteboard: [pdfjs-form-xfa-js]

Hi,
First of all, we would like to know if this issue is still relevant, since it is marked as WONTFIX.
As we use Firefox ESR as our official browser accessing insurance applications, editing a fillable pdf file is one of the features our 5000 users do every day in their work.
In order to simplify our business procedures, we would like them to use FF pdf viewer instead of launching Acrobat PRO to edit/print/save pdf files.
As reported, we are experiencing the same issues with checkbox and radio buttons in pdf files, especially in the print preview and even with the download version after filling the form.
What we get in the print preview is not what you see on screen.
The incorrect cases show multiple radio buttons from a group are checked rather than only one. For the checkboxes, all of them are checked even if just only one was clicked...
We will get the same results when editing the form once we've saved it to local disk after filling the document.
We reproduce the issue in FF-102.15.1.esr and FF-115.3.1.esr
Making the same tests with Chrome 117.0.5938.150, every thing works as expected ; i.e only one radio button is selected and only clicked checkboxes buttons are marked. 
Please let us know about the situation of this issue, if wontfix or otherwise which delay you're about to fix this issue.
Looking forward to hearing from you.

:Squad_Swap, do your pdfs contain some XFA forms ?
If not, could you make a try in Firefox nightly and if you can reproduce your issue, please file a new bug in attaching a pdf ?

Flags: needinfo?(LD_Squad_Swap)

:calixte
Hi,
I've tried with Firefox nightly.
Malfunctions still occur ; i.e even if the form is not modified but just opened, the print view shows some boxes being checked.
I will create un new bug with attached sample file and screen copies.

Flags: needinfo?(LD_Squad_Swap)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: