Description: When you create a form with check boxes and export the document to pdf then in the pdf document they don't work anymore. You cannot check them. Steps to Reproduce: Create a new Writer document. Insert a check box form field. Export your document to pdf with ther Writer exoprt function. Open the created pdf document. Actual Results: The check box appears as a passive square and cannot be checked. Expected Results: Check boxes can be checked in pdf document. Reproducible: Always User Profile Reset: Yes Additional Info: I uninstalled previous Libre Office and reinstalled it before testing.
Confirm with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 2b68e8bc0303432625a87d6dd60d5e6c3de9be72 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Also in Version: 24.2.8.0.0+ (X86_64) / LibreOffice Community Build ID: 2a06848352e0ba2e35bc84f8491d06cece32e707 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded We need to know a latest version that worked...
Last known working version is 24.2.3.2
I have tested 24.2.0 and it is NOT working. Let't find out a working version... Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 2709d6bcf248a072abdc6e219466727f52dc159b CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
When I use follwing LibreOffice version all works fine. Version: 24.2.3.2 (X86_64) / LibreOffice Community Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL threaded I opened a Writer document, insteted a check box, exported the document to pdf file and opened the result with Firefox. I can check the check box as expected.
The Linux version 24.2.3.2 works fine too. Version: 24.2.3.2 (X86_64) / LibreOffice Community Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba CPU threads: 8; OS: Linux 4.4; UI render: default; VCL: gtk3 Locale: en-US (C.UTF-8); UI: en-US Calc: threaded
Maybe the app which is opening my PDF is not accepting the checkbox.
I always used very simple PDF-Viewers as Firefox to check the pdf result. With newer LibreOffice versions I cannot check created check boxes. But with the older ones all works fine. That's why I opened this ticket.
Michael, I tried to bibisect this, and this is my result. Is the result wrong?... I opened the PDF with Firefox. The change you made does not seem related to forms. author Michael Weghorn <m.weghorn@posteo.de> 2024-07-17 09:40:13 +0200 committer Adolfo Jayme Barrientos <fitojb@ubuntu.com> 2024-07-20 06:00:55 +0200 commit 58a533ee6bab11a157184aec47a39588ec63add2 (patch) tree aa6c59d033cb7c85f9b422d10654cb505d9d378b parent ab86927e541cedad2adfd56e3c34abd04abc0db6 (diff) android: Handle cursor keys In Android Viewer, forward the left/right/up/down keys as such by adding the corresponding mapping to `LOKitTileProvider#getKeyCode`. This allows navigating through the document using those keys e.g. on a hardware keyboard. This addresses this comment from a Google Play Review: > Editing, the cursor doesn't respond to the cursor keys Change-Id: I688e5d0cc1db4f9315f9c9cb2139c22117a210e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170605 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> (cherry picked from commit 053d9feec432ca4dff4d85593d9cad0d975388b3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170562 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
I bibisected again, a different result. Does not seem related either. author Caolán McNamara <caolan.mcnamara@collabora.com> 2024-07-31 16:29:23 +0100 committer Adolfo Jayme Barrientos <fitojb@ubuntu.com> 2024-08-01 06:22:18 +0200 commit c34fced015ce06ced01e29971ba26b3871c0ec8d (patch) tree 4d902eabd318083e78cb44afb782fdf8ba629bfd parent c988aafbb5fde11a907ba508f6ab7558336fa55d (diff) Resolves: tdf#162278 get popup position relative to the dest parent since: commit 85511e27d259d6b19cc6c463fc06368c14511bb8 Author: Caolán McNamara <caolan.mcnamara@collabora.com> AuthorDate: Sat Jul 27 20:25:35 2024 +0100 Resolves: tdf#160509 use BorderWindow client for dialog parent we now use the clientwindow of toplevel frames as the parent window to use as the parent for dialogs/etc so we get the right SystemWindow for dialogs. So we need to also adjust the calculation of where we put child popups of such toplevel frames to be relative to the clientwindow instead of borderwindow Change-Id: I896e75a5ad709a51a445dc1be2c0fb9f985f01a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171296 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Miklos, can you take a look here? Thanks. tdf#162009 PDF export: disable export of form fields as PDF forms by default Open <https://bugs.documentfoundation.org/attachment.cgi?id=195586>, notice that from "bbb", the middle "b" is bold, export to PDF, none of the "b"s are bold. The reason for this is that by default we map form controls and content controls to fillable PDF forms, which can only contain plain text. Fix the problem by defaulting to not exporting form controls / content controls to PDF forms: most users just want a PDF that is close to what they saw in the edit window -- and the ones who want a fillable PDF form can still opt in. Once the UI checkbox is enabled, we even remember that. Based on <https://gerrit.libreoffice.org/c/core/+/152622>, thanks Justin! Change-Id: Iddb75d1dbd969045321e139154f254c059eebf16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171226 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171310
Created attachment 198427 [details] Demo document The document for testing if the checkbox can be checked or not.
If you want to export a PDF form, make sure that you export a PDF form. In the PDF export dialog, check the respective checkbox. Previously, the *default* was to export PDF forms; bug 162009 made it necessary to change the default. This is not a bug. But it might be useful to mention the change of the default in the release notes.
I can confirm that the form option in the export dialogue solves the problem. Thank you very much for the quick processing and help.