[okular] [Bug 467852] New: Form: Numbers concatenated rather than summed (UK IHT407)
Dave Gilbert
bugzilla_noreply at kde.org
Mon Mar 27 14:01:55 BST 2023
https://bugs.kde.org/show_bug.cgi?id=467852
Bug ID: 467852
Summary: Form: Numbers concatenated rather than summed (UK
IHT407)
Classification: Applications
Product: okular
Version: 22.12.3
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: PDF backend
Assignee: okular-devel at kde.org
Reporter: gilbertd+kde at treblig.org
Target Milestone: ---
Created attachment 157630
--> https://bugs.kde.org/attachment.cgi?id=157630&action=edit
Original IHT407 form unfilled
SUMMARY
In the attached (government issued) form, the summation of fields is working as
concatenation rather than summing the values.
The original form is available:
https://www.gov.uk/government/publications/inheritance-tax-household-and-personal-goods-iht407
I've attached:
a) An original version
b) A version with a value in the first entry in page 2 of £300, top row, and
you can see the total field at the bottom has a load of 0's that correspond to
each row adding an extra '0' to the result; this carries into the total on the
next page
STEPS TO REPRODUCE
1. Load the empty form
2. Enter a numeric value, e.g. 300, into the top right field on page 2 (Open
market value, top row)
3. Enter another numeric value, e.g. 55 into the page 4 field 4, 'Total value
of other'
OBSERVED RESULT
The total on page 2 is 3000000000000000000
The total on page 5 is something like 300000000000000000055
EXPECTED RESULT
£300 and £355
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: Fedora 37
(available in About System)
KDE Plasma Version: 5.27.3 - but running under xfce
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
ADDITIONAL INFORMATION
I've seen a non-reproducible crash on that form and other oddities, try tabbing
around on page 2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list