Bug 431461 - Some more JS Problems in the norwegian form for refund of of withholding tax
Summary: Some more JS Problems in the norwegian form for refund of of withholding tax
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.11.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 19:57 UTC by andreaswuest
Modified: 2023-09-18 16:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Form with the problems. (627.50 KB, application/pdf)
2021-01-11 19:58 UTC, andreaswuest
Details
Screenshot1 (93.44 KB, image/png)
2021-01-11 19:59 UTC, andreaswuest
Details
Screenshot2 (76.62 KB, image/png)
2021-01-11 20:00 UTC, andreaswuest
Details

Note You need to log in before you can comment on or make changes to this bug.
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.