Summary: | FORMCONTROLS: Radio button reference value (on) not passed exported to PDF | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Steve <steve> |
Component: | Printing and PDF export | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | ilmari.lauhakangas, robert, xiscofauli |
Priority: | medium | Keywords: | bibisected, bisected, regression |
Version: | 7.3.0.0 alpha1+ | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=143612 | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | Xisco Fauli | |
Bug Depends on: | |||
Bug Blocks: | 107742 | ||
Attachments: |
Source document created with Writer 7.1.8.1 on Win10
PDF exported from Write 7.1.8.1 PDF exported from Writer 7.5.2.2 |
Description
Steve
2023-04-18 05:48:32 UTC
This is on Win10 21H2. Have tried this with OpenSUSE 15.4 and different LO-Versions: Created a *.odt-document with a group field and three radio buttons. Set the value for each button. Set a default value. Saved and exported to *.pdf. Done with LO 7.5.2.2 and also with LO 7.0.5.2. Opened the *.pdf with Okular (pdf viewer under KDE in Linux). Chosen an entry of the radio buttons. Both forms will save the right entry. Extracted the data with pdftk and both forms will show also the same value - not '0'. Might be a pecial Windows/Acrobat-problem. I couldn't test this here. Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) Created attachment 186900 [details]
Source document created with Writer 7.1.8.1 on Win10
Created attachment 186901 [details]
PDF exported from Write 7.1.8.1
Created attachment 186902 [details]
PDF exported from Writer 7.5.2.2
I created a new document in Write 7.1.8.1 with 2 radio buttons in a group, reference values on 1 & 5, off 0. I exported a pdf. I opened the same source document in Write 7.5.2.2 and exported another pdf. In Acrobat, same results: 7.1.8.1 version has correct values but 7.5.2.2 has zeros. I used pdftk dump_data_fields on both pdfs and did spot a difference. 7.1.8.1 output: FieldStateOption: 1 FieldStateOption: 5 FieldStateOption: Off 7.5.2.2 output: FieldStateOption: 0 FieldStateOption: 1 FieldStateOption: 5 I have attached all 3 files. Bibisected the change seen with pdftk with linux-64-7.3 to 50fd91de9babf7c043759f13d8064ce5c22f307d tdf#143612: map SecondaryRefValue in form pdf export Hi Steve, is the issue also reproducible if the document is created with LibreOffice 7.5 or is it only reproducible for documents created with any version older than 7.2 ? Hi Xisco Yes it is reproducible with latest stable build. That's how I discovered it. I knew earlier versions had worked so I went back and checked. The issue seems to be with the export rather than the source file. |