Bug 431461

Summary: Some more JS Problems in the norwegian form for refund of of withholding tax
Product: [Applications] okular Reporter: andreaswuest
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 1.11.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Form with the problems.
Screenshot1
Screenshot2

Description andreaswuest 2021-01-11 19:57:55 UTC
Hi,

the norwegian form for refund of of withholding tax cannot be populated with okular. i have tested under windows, because there i have a more recent veresion than under linux. linux has most likely the same problems.

Some issues have been fixed with https://bugs.kde.org/show_bug.cgi?id=418445 - however
not all. With Okular 1.11.1, KDF Frameworks 5.74.0, QT 5.15.1 and Poppler 0.89.0
from the windows store - the following problem still exists:

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


Problem 1: 

STEPS TO REPRODUCE
1. open pdf file
2. goto section 5
3. enter a valid year in "Year of dividend payment" - e.g. 2017
4. In the table footer there exists a label "SUM: " after which the entered year should show up: (see screenshot)

Problem 2: 

STEPS TO REPRODUCE
1. open pdf file
2. goto section 5
3. enter a valid year in "Year of dividend payment" - e.g. 2017
4. Populate the rest of the input fields with some values until the field "Gross amount in NOK" 
5. When the field "Gross amount in NOK" loses the focus - the year of the dividend payment is somehow reset (this should not happen -> does not happen in acrobat reader).

Problem 3: 

STEPS TO REPRODUCE
1. open pdf file
2. goto section 5
3. enter a valid year in "Year of dividend payment" - e.g. 2017
4. Populate the rest of the input fields - so everything is populated in the first line
5. not set the focus the second line - put the cursor in the VPS column -> in acrobat, the "Year of divident payment" is copied from the first to the second line,
  some for the ISIN prefix "NO" - however in okular this does not work. In okular you usually get the "undefined" value.
Comment 1 andreaswuest 2021-01-11 19:58:57 UTC
Created attachment 134750 [details]
Form with the problems.
Comment 2 andreaswuest 2021-01-11 19:59:57 UTC
Created attachment 134751 [details]
Screenshot1
Comment 3 andreaswuest 2021-01-11 20:00:13 UTC
Created attachment 134752 [details]
Screenshot2
Comment 4 andreaswuest 2023-09-18 16:41:00 UTC
The problems described here is fixed with 23.08 - you can close this ticket.