Summary: |
Form field misuse leads to 'NaN' which won't disappear |
Product: |
[Applications] okular
|
Reporter: |
Oliver Sander <oliver.sander> |
Component: |
PDF backend | Assignee: |
Okular developers <okular-devel> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
normal
|
CC: |
nicolas.fella
|
Priority: |
NOR
|
|
|
Version First Reported In: |
23.08.1 | |
|
Target Milestone: |
--- | |
|
Platform: |
Other | |
|
OS: |
Linux | |
|
Latest Commit:
|
https://invent.kde.org/graphics/okular/-/commit/160be5211964e091d825d6bfec742859cd5c71bf
|
Version Fixed In:
|
24.08.0
|
Sentry Crash Report:
|
|
| |
Attachments: |
The problematic document
|
Created attachment 161880 [details] The problematic document I have a pdf document with a form field that should (I guess) only accept numbers. By deliberate entering a non-digit I can make it show NaN. Afterwards, it is not possible to remove this NaN again. STEPS TO REPRODUCE 1. Open the attached document; click on 'show forms' 2. Click on the top left square (below "70 Liter") 3. Enter the letter X 4. Click outside of that square --> the X changes to NaN 5. Click into the square again --> the NaN changes back to X 6. Replace the X by a 2 7. Click on "hide forms" OBSERVED RESULT Instead of the number "2" the "NaN" is shown again. EXPECTED RESULT I am not quite sure what to expect. Should I be prevented from entering non-digits in the first place? At the very least I would expect to see a "2" at the end of the seven steps, not NaN. SOFTWARE/OS VERSIONS Betriebssystem: Debian GNU/Linux 12 KDE-Plasma-Version: 5.27.5 KDE-Frameworks-Version: 5.103.0 Qt-Version: 5.15.8