Radio buttons on a Writer document form exported to PDF are not selectable if the PDF is opened in Document Viewer. When the PDF is opened in a browser (tested in Opera) or on Windows using Acrobat Reader the radio buttons work as expected.
Steps to Reproduce:
1. Create a new Writer document
2. Add a radio button form control
3. File / Export as / Export as PDF...
4. Ensure that Create PDF Form is checked and use format FDF
5. Export and save the PDF
6. Open the PDF in Document Viewer
7. Try to select the Radio button
Radio button can't be selected.
Radio button is selected.
User Profile Reset: No
OpenGL enabled: Yes
Tried this on LO 6.3 (using Linux Mint Software repo) and LO 7.3 downloaded manually on Linux Mint 20.3 and Linux Mint 20.2 (two different systems)
Created attachment 179676 [details]
Writer Document containing radio button control
Created attachment 179677 [details]
PDF Document containing radio button control
I confirm the description but:
- option button not working in xreader and xpdf but is working in Master PDF Editor and Adobe Reader 9 in Linux
- not working in older PDF-Xchange Viewer is working in newer Xchange Editor and in Adobe Reader 2022 in Windows
Still, it worked before LO 6.3 so I'll confirm, unless explained why this wouldn't be a bug.
author Thorsten Behrens <Thorsten.Behrens@CIB.de>
tdf#113448 don't export any font for radio buttons
Julien,m you fixed bug 127217 after a long time and many duplicates, can you please comment here.
(In reply to Timur from comment #4)
> Julien,m you fixed bug 127217 after a long time and many duplicates, can you
> please comment here.
I gave a try on Windows, it works with Edge.
I gave a try on Linux, Gnome viewer, it failed.
Miklos: How to know if the pdf is indeed correct?
I tried to find some PDF online validator but not very useful.
I mean, perhaps some PDF clients are buggy (since depending on the client, click may work or not).
https://docs.verapdf.org/cli/validation/ might be useful. I haven't tried it myself, I only recently discovered it.
Last time I needed a PDF validator, I used https://www.pdf-online.com/osa/validate.aspx -- but that sucks a bit, as it's an online-only tool. I hope of these do what you need. :-)
(In reply to Miklos Vajna from comment #7)
> https://docs.verapdf.org/cli/validation/ might be useful. I haven't tried it
> myself, I only recently discovered it.
It seems we need to retrieve the source, I suppose from https://github.com/veraPDF/veraPDF-validation then build, then test.
I git cloned the repo, then noticed I had to install maven so Java tool.
I haven't tried yet, I thought there would be standard tools (ideally in C/C++).
> Last time I needed a PDF validator, I used
> https://www.pdf-online.com/osa/validate.aspx -- but that sucks a bit, as
> it's an online-only tool. I hope of these do what you need. :-)
I had found this one but it just returned:
Result Document does not conform to PDF/A.
Validating file "testjul.pdf" for conformance level pdf1.6
The operator has an invalid number of operands.
The document does not conform to the requested standard.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
The document does not conform to the PDF 1.6 standard.
I wish it would be more verbose and indicate what are the pbs.
CC Thorsten in case they are aware of some pdf validator, better than verapdf.