Summary: | Infinite modal dialog in PDF form | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Juan Navarro <oneorjuan> |
Component: | PDF backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | NOR | ||
Version First Reported In: | 23.04.3 | ||
Target Milestone: | --- | ||
Platform: | Flatpak | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/okular/-/commit/2e3163e621e84afd6d13429a6582ccdd9ea79c99 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Sample PDF file
Video showing the expected behavior (using Acrobat Reader) |
Description
Juan Navarro
2023-07-28 17:17:51 UTC
Further info: This dialog doesn't show up at all in other PDF viewers I've tested: * Xreader v3.2.2 * Firefox v115 * Chromium v114 While these are indeed missing to show part of the PDF form to the user, the lucky consequence of that is that it becomes possible to actually fill the form successfully. Created attachment 160597 [details]
Video showing the expected behavior (using Acrobat Reader)
Attaching a screen capture video where the expected behavior is shown.
This was captured using Acrobat Reader on Windows.
The "DNI", "Pasaporte" and "NIE" boxes can be marked as selected right away.
The "T", "P", and "C" boxes should show the modal dialog once, and afterwards they get marked as selected.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/785 Git commit f940ca1e2eda350b6e556f21adbd330fc99f8bb2 by Albert Astals Cid. Committed on 02/08/2023 at 00:07. Pushed by aacid into branch 'master'. Forms: Don't run focusin action when gaining focus because of window management Adobe Reader doesn't do it, and with reason, because otherwise we end up with: * Run focus in script * script shows alert() * form loses focus and gains it again once the alert() is closed * infinite loop The same fix we did in e457ceb73146790c5d4a9914182433ab4002815e but for the rest of the widgets M +1 -1 part/formwidgets.cpp https://invent.kde.org/graphics/okular/-/commit/f940ca1e2eda350b6e556f21adbd330fc99f8bb2 Git commit 2e3163e621e84afd6d13429a6582ccdd9ea79c99 by Albert Astals Cid. Committed on 02/08/2023 at 00:16. Pushed by aacid into branch 'release/23.08'. Forms: Don't run focusin action when gaining focus because of window management Adobe Reader doesn't do it, and with reason, because otherwise we end up with: * Run focus in script * script shows alert() * form loses focus and gains it again once the alert() is closed * infinite loop The same fix we did in e457ceb73146790c5d4a9914182433ab4002815e but for the rest of the widgets (cherry picked from commit f940ca1e2eda350b6e556f21adbd330fc99f8bb2) M +1 -1 part/formwidgets.cpp https://invent.kde.org/graphics/okular/-/commit/2e3163e621e84afd6d13429a6582ccdd9ea79c99 |