Bug 453434 - PDF Form : Conditional Calculation Example - immediately fails with error popup.
Summary: PDF Form : Conditional Calculation Example - immediately fails with error popup.
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.04.0
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-05 18:59 UTC by andreaswuest
Modified: 2022-05-05 21:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Demo file. (107.91 KB, application/pdf)
2022-05-05 18:59 UTC, andreaswuest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreaswuest 2022-05-05 18:59:42 UTC
Created attachment 148592 [details]
Demo file.

This PDF also works in Acrobat, not in Firefox and not at all in Okular.
In Okular clicking on "block calculations" checkbox immeditely triggers a Javascript error box.

file can also be found here:
https://www.pdfscripting.com/public/Free-Sample-PDF-Files-with-scripts.cfm

STEPS TO REPRODUCE
1. Open attached PDF
2. click on "block calculations" 
3. Immediately triggers javascript error box

OBSERVED RESULT
-> you get a javascript error box

EXPECTED RESULT
-> no error box -> dynamic PDF form can be used just like with acrobat.

SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version 5.93.0
QT Version 5.15.2 (built against 5.15.2)
Version 22.04.0