GNOME Bugzilla – Bug 785533
Evince does not execute JavaScript of PDF forms
Last modified: 2017-10-02 14:34:33 UTC
Attachment #356517 [details] is a PDF form I created with the latest pdflatex. It fulfils the PDF form specification as is used as reference PDF form for the program LyX. The PDF looks and works fine using Adobe Reader under Windows. Under Linux using Evince 3.24.1 there are several bugs. (Attachment #356518 [details] is the TeX source code of the form.) This report is about executing JavaScript: - open the PDF and go to sec. 2.4 and there to the 2nd push button - click the button. result: nothing happens. The underlying JavaScript code is either not executed or Evince has overseen that the document contains JavaScript. Adobe Reader executes it correctly and shows the defined message about a fridge. Since I cannot find a setting in the Evince preferences to block JavaScript I guess it is a bug. If it is not a bug but a missing feature Evince should warn the user that he cannot completely use the form. (Many PDF forms from e.g. federal administration use JavaScript for hits and explanations about the different form fields.)
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 338721 ***