Bug 382858 - PDF form bug in displaying popdown and combo boxes
Summary: PDF form bug in displaying popdown and combo boxes
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.11.3
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-28 14:09 UTC by Uwe Stöhr
Modified: 2020-11-25 10:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
view in Okular 1.11 (45.13 KB, image/png)
2020-11-25 10:26 UTC, Uwe Stöhr
Details
view in Adobe Reader (37.05 KB, image/png)
2020-11-25 10:27 UTC, Uwe Stöhr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Stöhr 2017-07-28 14:09:47 UTC
attachment 106922 [details] is a PDF form I created with the latest pdflatex. It fulfils the PDF form specification as is used as reference PDF for for the program LyX. The PDF looks and works fine using Adobe Reader under windows. Under Linux using Okular 1.1.3 there are several bugs. (attachment 106923 [details] is the TeX source code of the form.)

This report is abut dependent checkboxes:
- open the PDF and go to sec. 2.3 and there to the 2nd section Country.
- try to select there country Armenia

result: The vertical scrollbar cannot be used to scroll down to Armenia. The only way is to click on Albania and then use the down arrow key on the keyboard.

Moreover the popdown box is incorrectly drawn. Its size was chosen to display all 3 entries of the list and in Adobe Reader it appears correctly with this size. Okular only displays the first entry.

Another issue: Okular preselected already the first list entry "Albania". This is incorrect because the form was designed not to preselect an entry of the list, see also its TeX source code. Again Adobe Reader does this correct.
Comment 1 Uwe Stöhr 2017-07-28 14:14:41 UTC
> This report is abut dependent checkboxes:

Sorry, this bug is about popdown boxes.
Comment 2 Uwe Stöhr 2017-07-28 15:16:22 UTC
Just for information, the program Evince displays popdown boxes correctly.
Comment 3 Justin Zobel 2020-11-10 04:26:18 UTC
Thanks for the report Uwe.

I've just tested with the PDF you attached and the dropdown box works in Okular (git master version).

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" when you respond, thanks.
Comment 4 Bug Janitor Service 2020-11-25 04:33:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Uwe Stöhr 2020-11-25 10:23:06 UTC
> I've just tested with the PDF you attached and the dropdown box works in Okular

What did you test? I took now the latest Windows nightly build (Okular master build 585) and it still doesn't work. Attached is a screenshot with Okular and for comparison with Adobe Reader.

The bugs are:
- The popdown box is incorrectly drawn. Its size was chosen to display all 3 entries of the list and in Adobe Reader it appears correctly with this size. Okular ignore the settings and display about 2 entries.
- the combobox was designed so that no entry is preselected (Important that nobody feel discriminated). Okular ignores this as well and preselects the first entry.
- the radio button still don't work, as you can see, in Okular one can check both radio buttons and the one for "female" is broken. I reported this separately as bug 382857 .
Comment 6 Uwe Stöhr 2020-11-25 10:26:49 UTC
Created attachment 133629 [details]
view in Okular 1.11

How it is displayed in Okular 1.11 on Windows
Comment 7 Uwe Stöhr 2020-11-25 10:27:55 UTC
Created attachment 133630 [details]
view in Adobe Reader

How it is correctly displayed in Adobe Reader on Windows