Summary: | PDF Form with JavaScript logic cannot be populated properly | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | andreaswuest |
Component: | PDF backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid |
Priority: | NOR | ||
Version First Reported In: | 1.9.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Form to be populated. |
Description
andreaswuest
2020-03-03 21:13:33 UTC
It's a bit annoying and the PDF is using hideen "combo boxes" forms for the 10%, 25% and we don't have "get value of combo box" implemented yet, so that's why it fails Git commit 5035f90dd9c0290d1f829964029c86b9b1deadec by Albert Astals Cid. Committed on 28/03/2020 at 23:12. Pushed by aacid into branch 'master'. Fix forms sometimes showing an old value If from processFormatAction we call setAppearanceText, we need to call setAppearanceText from outside too, otherwise when the formatting action doesn't create a different text we still show the old old value M +1 -0 core/document.cpp https://invent.kde.org/kde/okular/commit/5035f90dd9c0290d1f829964029c86b9b1deadec Git commit d3b43b0b1e46f66d8b6e2a1d8d2d7ef3875136d0 by Albert Astals Cid. Committed on 28/03/2020 at 23:12. Pushed by aacid into branch 'master'. Implement AFMakeNumber Also make stringToNumber be stubborn when converting strings to numbers M +10 -0 core/script/builtin.js M +11 -10 core/script/kjs_util.cpp https://invent.kde.org/kde/okular/commit/d3b43b0b1e46f66d8b6e2a1d8d2d7ef3875136d0 Hi, what is the current state of the issue - i have seen that you have fixed the problem described. Tested with version 1.11.1 KDF Frameworks 5.74.0 QT 5.15.1 and Poppler 0.89.0 (version from the windows store). However, okular has some more javascript issues with the attached document. Do you want me to add the problems here, or do you you want me to describe the problems in another ticket (in this case i think we can close this ticket). Cheers, Andreas Yes, i know there's still things to fix, have it in my infinite todo, this is why this is not marked as resolved. If you have time it's always better to have a more detailed description of what's missing so i would appreciate if you can write a new issue describing what's missing (in case we magically get more people to look at bugs than me) and close this one. i have created a new ticket (431461) for the other problem, so i guess you can close this one. |