[okular] [Bug 418445] New: PDF Form with JavaScript logic cannot be populated properly

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Mar 3 21:13:33 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=418445

            Bug ID: 418445
           Summary: PDF Form with JavaScript logic cannot be populated
                    properly
           Product: okular
           Version: 1.9.2
          Platform: Other
                OS: MS Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: andreaswuest at gmx.de
  Target Milestone: ---

Created attachment 126580
  --> https://bugs.kde.org/attachment.cgi?id=126580&action=edit
Form to be populated.

Hi,

the norwegian form for refund of of withholding tax cannot be populated with
okular. The Problem seems to be the contained Javascript logic. The user can
enter the Gross amount in NOK of the stock to be refunded. The withholding tax
of 25% should be cacualted by the form, same with the refund claim of 10%.
for some reason, the calculation fo the sum seems to work.
I do not have to mention that it works with the acrobat reader.
another thing i notice is, that popuating the form fields is supper slow for
some reason - when you press a key you can visibly notice the latency until the
key shows up in the form.

The form can be found here:
https://www.skatteetaten.no/globalassets/skjema/alltid/1-refusjonsskjema-skatteavtale-person
(see attachment)


STEPS TO REPRODUCE
1. open pdf file
2. goto section 5
3. enter amounts in the column "Gross amount in NOK"


OBSERVED RESULT
The dependent columns remain unchanged with value 0.0 (withholding tax and
refund claim)

EXPECTED RESULT
The dependent columns should be automatically calulated (withholding tax and
refund claim)


SOFTWARE/OS VERSIONS
Windows: 10
KDE Plasma Version: 
KDE Frameworks Version: 5.67
Qt Version: 5.14.0
Poppler Version 0.85.0

ADDITIONAL INFORMATION
Its the official Okular Version for Windows from the MS Store.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list