[okular] [Bug 382859] New: Okular does not execute JavaScript of PDF forms

2017-07-28 Thread Uwe Stöhr
https://bugs.kde.org/show_bug.cgi?id=382859

Bug ID: 382859
   Summary: Okular does not execute JavaScript of PDF forms
   Product: okular
   Version: 1.1.0
  Platform: Manjaro
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-de...@kde.org
  Reporter: uwesto...@lyx.org
  Target Milestone: ---

attachment 106922 [details] is a PDF form I created with the latest pdflatex.
It fulfils the PDF form specification as is used as reference PDF for for the
program LyX. The PDF looks and works fine using Adobe Reader under windows.
Under Linux using Okular 1.1.3 there are several bugs. (attachment 106923
[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 Okular 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 Okular preferences to block JavaScript I
guess it is a bug.

If it is not a bug but a missing feature Okular 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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 382859] New: Okular does not execute JavaScript of PDF forms

2017-07-28 Thread Uwe Stöhr
https://bugs.kde.org/show_bug.cgi?id=382859

Bug ID: 382859
   Summary: Okular does not execute JavaScript of PDF forms
   Product: okular
   Version: 1.1.0
  Platform: Manjaro
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-de...@kde.org
  Reporter: uwesto...@lyx.org
  Target Milestone: ---

attachment 106922 [details] is a PDF form I created with the latest pdflatex.
It fulfils the PDF form specification as is used as reference PDF for for the
program LyX. The PDF looks and works fine using Adobe Reader under windows.
Under Linux using Okular 1.1.3 there are several bugs. (attachment 106923
[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 Okular 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 Okular preferences to block JavaScript I
guess it is a bug.

If it is not a bug but a missing feature Okular 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.

-- 
You are receiving this mail because:
You are watching all bug changes.