Bug 168009 - option buttons and checkbox in forms not working in evince document reader 46.3.1
Summary: option buttons and checkbox in forms not working in evince document reader 46...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-19 07:56 UTC by JRBZG
Modified: 2025-08-28 09:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
exported form (16.67 KB, application/pdf)
2025-08-19 11:43 UTC, JRBZG
Details
original form (10.95 KB, text/plain)
2025-08-19 11:45 UTC, JRBZG
Details
Demo document (33.85 KB, application/pdf)
2025-08-23 19:39 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JRBZG 2025-08-19 07:56:47 UTC
Description:
When exporting PDF files with forms that have option buttons (radio buttons) and checkboxes in LibreOffice, the resulting PDF file has issues in Evince Document Reader. The problem is that radio buttons and checkbox cannot be selected (checked). Everything works fine while testing the form in libre office (draft mode deactivated). Opening the exported pdf form in web browser, they work fine.





Steps to Reproduce:
Steps to Reproduce:
1. Create a new document in Writer.
2. Add some option buttons and a checkbox.
3. Export as PDF (enable "Create PDF form").
4. Open the file in Evince Reader.


Actual Results:
The option (radio) buttons cannot be checked (marked as selected) 

Expected Results:
The option buttons and checkbox should be selectable.


Reproducible: Always


User Profile Reset: No

Additional Info:
maybe belongs to BUG 127217?

Additional Info:
Libre Office Version: 24.2.7.2
CPU threads: 12; OS: Linux 6.8; UI render: standard; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); UI-Language: de-DE
Calc: threaded

Evince version 46.3.1

Linux Mint
Comment 1 m_a_riosv 2025-08-19 11:34:11 UTC
Please attach a sample file, reduce the size as much as possible without private information.
Comment 2 JRBZG 2025-08-19 11:43:57 UTC
Created attachment 202379 [details]
exported form

works fine with acrobat and when opened in a browser. Works not correctly when opened with evince document viewer -> unable to select option buttons or check the checkbox
Comment 3 JRBZG 2025-08-19 11:45:14 UTC
Created attachment 202380 [details]
original form

original form build in libre office writer
Comment 4 JRBZG 2025-08-19 11:46:22 UTC
thx, attached sample files
Comment 5 m_a_riosv 2025-08-19 21:13:39 UTC
(In reply to JRBZG from comment #2)
> Created attachment 202379 [details]
> exported form
> 
> works fine with acrobat and when opened in a browser. Works not correctly
> when opened with evince document viewer -> unable to select option buttons
> or check the checkbox

Then, perhaps it should be reported to Evince?
Comment 6 BogdanB 2025-08-23 19:34:15 UTC
The second radio button: 
- in Chrome is checked
- in Atril unchecked
- in Ocular unchecked
- in Papers unchecked
Comment 7 BogdanB 2025-08-23 19:39:27 UTC
After that I exported your file to PDF using LibreOffice 25.8 and using this settings from Export as PDF... 
- PDF/A-4 (PDF2)
- checked Universal accesibility
- checked Create PDF form wih "PDF" instead of FDF

After this new export:
- in Chrome is checked
- in Atril is checked
- in Ocular is checked
- in Papers is checked

So the problem is in your settings for export to PDF
 
Version: 25.8.0.4 (X86_64)
Build ID: 48f00303701489684e67c38c28aff00cd5929e67
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: ro-RO (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 8 BogdanB 2025-08-23 19:39:44 UTC
Created attachment 202480 [details]
Demo document

my exported file
Comment 9 JRBZG 2025-08-28 09:26:32 UTC
Sorry for the late answer, its quite busy at work.

I've opened your demo document in evince and it works fine. So it doesnt seem to be a problem with evince.


I've used this settings from Export as PDF to the origial form... 
- PDF/A-3b (PDF/A version is grey, we have no other possibility in company)
- checked Universal accesibility
- checked Create PDF form wih "PDF" instead of FDF:

I've exported the original form again with this settings (as used before) but the result is still the same. Checkboxes and optionfields in evince are not working.
Comment 10 BogdanB 2025-08-28 09:42:53 UTC
LibreOffice 25.8 is offering support for PDF/A-4 (PDF2). Can you try it?