Bug 471033 - PDF Form cannot be reset with the provided button in the form
Summary: PDF Form cannot be reset with the provided button in the form
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 23.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-14 18:20 UTC by andreaswuest
Modified: 2023-09-18 17:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF file with button to reset form. (742.77 KB, application/pdf)
2023-06-14 18:20 UTC, andreaswuest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreaswuest 2023-06-14 18:20:18 UTC
Created attachment 159660 [details]
PDF file with button to reset form.

Hi,

see the attached file for an example. The file contains a button with the label "Alle Angaben löschen" which can be used to reset the form. This works fine in Acrobat and the JS PDF Viewer in Firefox, but not with Okular. In okular pressing the button has no effect.

STEPS TO REPRODUCE
1. Open the attached file
2. Show Forms 
3. Populate the forms with some values
4. Click on "Alle Angaben löschen" Button 

OBSERVED RESULT
Nothing happens to the input fields.

EXPECTED RESULT
Form fields should be reset.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.4
(available in About System)
KDE Plasma Version: ??
KDE Frameworks Version: Version 5.106.0
Qt Version: Version 5.15.9 (built against 5.15.9)

ADDITIONAL INFORMATION
Comment 1 andreaswuest 2023-09-18 17:08:40 UTC
Retested with 23.08 - the reset button still does not work.
Comment 2 Luigi Toscano 2023-09-18 17:20:52 UTC
The "Version" field represents the first version where the issue was reproduced (it may help with debugging/finding the root cause). Restoring to 23.04.1.