Bug 453711

Summary: PDF form-filling some fields fail or don't print
Product: [Applications] okular Reporter: Bill Dietrich <kdebt4>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: aacid, antonioni.rocha, okular-devel
Priority: NOR    
Version First Reported In: 22.04.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: PDF file

Description Bill Dietrich 2022-05-12 17:14:47 UTC
Created attachment 148769 [details]
PDF file

SUMMARY
***
Attached PDF file has some fields that don't work in Okular form-filling.
***

In section 1, Social Security number gets stuck after first 3 digits.  Format should be nnn-nn-nnnn.  Field ends up with "nnn--" in it, I think.

Some check-mark fields got un-checked or didn't print, maybe after a subordinate field was filled in.  I'm not quite sure which did this.  Maybe first check-box in section 4: "One-time-payment".  Check the box, then check the next box next to the dollar sign, then enter a number such as 1000.  Then I think when printing, the first check-mark is gone.  Not sure of the exact steps, sorry.

Similar happened to 3rd check-box in section 5, I think.  Check the box, fill in an account number (8 digits), then on printing the check-box is un-checked.
Comment 1 Albert Astals Cid 2022-05-14 23:34:31 UTC
I seem to be able to enter the Social Security just fine https://i.imgur.com/NiJ6yYd.png

> Some check-mark fields got un-checked or didn't print, maybe after a subordinate field was filled in.  I'm not quite sure which did this.

Please spend more time and give us a better bug report.
Comment 2 Bill Dietrich 2022-05-15 09:01:13 UTC
Please try typing "123-" into Social Security Number field.
Comment 3 Bill Dietrich 2022-05-15 09:05:01 UTC
For check-marks problem: open document, show forms, check box 1B "Normal Distribution–Roth IRAs", then check box subordinate to that one, "This is a Qualified Distribution".  Save document.  Open document again, look at those two check-boxes.  Box 1B "Normal Distribution–Roth IRAs" will be un-checked.
Comment 4 Albert Astals Cid 2022-05-15 21:07:19 UTC
(In reply to Bill Dietrich from comment #2)
> Please try typing "123-" into Social Security Number field.

Ah yes, don't write the - it gets written automatically for you :) But yes, that needs fixing

> For check-marks problem: open document, show forms, check box 1B "Normal Distribution–Roth IRAs", then check box subordinate to that one, "This is a Qualified Distribution".  Save document.  Open document again, look at those two check-boxes.  Box 1B "Normal Distribution–Roth IRAs" will be un-checked.

Can not reproduce
Comment 5 Albert Astals Cid 2022-05-15 21:09:08 UTC
Wait, why is this bug being CC'ed to 11 people, did you add all those?
Comment 6 Bill Dietrich 2022-05-16 07:59:00 UTC
I used "Clone this bug" from another bug to create this one.  I think maybe I should stop using that feature, it doesn't do what I expect.  Please clean up anything that shouldn't be there.