Created attachment 136858 [details] the problematic form with the supposedly-not-empty dropdowns SUMMARY The PDF form in the attachment contains several dropdowns with options to be selected. Unfortunately, no dropdown entries are displayed and thus cannot be selected. According to the metadata, the PDF has been created from Office 365 so I cannot guarantee it to be fully standard conformant. Put pdf.js in Forefox 86.01 for example manages to display the dropdown options and makes them selectable. 1. Open "problematic_form.pdf" from attachments in okular 2. Click "show forms" button 3. try to select on of the dropdown options, e.g "Degree programme" OBSERVED RESULT No dropdown options are displayed (see screenshot) EXPECTED RESULT dropdown options shall be displayed and selectable SOFTWARE/OS VERSIONS Linux: NixOS 21.05pre275822.916ee862e87 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.2 PDF backend version 0.6.5 using Poppler 20.08.0
Created attachment 136859 [details] screenshot of the PDF form in Okular, with the dropdown empty
Created attachment 136860 [details] screenshot of the PDF form in pdf.js on Firefox, with options available in the dropdown
Created attachment 136861 [details] The example file in Okular 201.12/poppler 20.12.0 Works fine here with poppler 20.12.0. Can you inspect "File -> Properties -> Fonts" if some fonts are missing? Thanks in advance for your answer.
Created attachment 136862 [details] File -> Properties -> Fonts Looks like all fonts are available, so I don't deem this to be the issue. I can try rebuilding Okular against a more recent Poppler. Or is this more about the Okular version?
(In reply to t.schmittlauch from comment #4) > I can try rebuilding Okular against a more recent Poppler. Or is this more > about the Okular version? Not sure. Let's wait for other people's opinions.
Created attachment 136863 [details] screenshot of PDF with Poppler 21.02.0 Okay, it seems to have been a Poppler bug, it's working fine with Poppler 21.02.0
Although… There's one remaining quirk: While there are default dropdown entries, the corresponding form field is not filled until you change it to another entry and back: 1. click "show forms" 2. see the dropdown field already being filled with a default entry 3. click "show forms" again to leave edit mode 4. see the dropdown field still being empty 5. go to edit mode again via "show forms" 6. select another option from the dropdown and then the default one again 7. leave edit mode 8. see the field now being filled Admittedly, pdf.js has a similar issue.
Comparing to what Adobe Acrobat Reader does We are doing it *right* that the field should be empty if the user hasn't choosen anything We're doing it *wrong* that the combo should not have any of the 2 options selected.