[okular] [Bug 474661] Norwegian withholding tax form - wrong calculation of percent value

Albert Astals Cid bugzilla_noreply at kde.org
Tue Jul 9 23:57:20 BST 2024


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/okular/-/commit/0520b6
                   |                            |4fed2d0b61a81740f164a4ae573
                   |                            |a6aeb32
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Albert Astals Cid <aacid at kde.org> ---
Git commit 0520b64fed2d0b61a81740f164a4ae573a6aeb32 by Albert Astals Cid, on
behalf of Pratham Gandhi.
Committed on 09/07/2024 at 22:57.
Pushed by aacid into branch 'master'.

Fix numerical interpretation in form fields

With the previous implementations of AFNumber_Keystroke [MR
988](https://invent.kde.org/graphics/okular/-/merge_requests/988), we ensure
that during a keystroke event, a user does not enter thousands separator. With
this in mind, numerical fields can always be first converted to en_US format
and then used for calculations. This ensures that all numbers are correctly
interpreted.

M  +1    -1    autotests/calculatetexttest.cpp
M  +1    -1    autotests/parttest.cpp
M  +10   -6    core/script/builtin.js
M  +4    -2    core/script/js_field.cpp

https://invent.kde.org/graphics/okular/-/commit/0520b64fed2d0b61a81740f164a4ae573a6aeb32

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


More information about the Okular-devel mailing list