https://bugs.documentfoundation.org/show_bug.cgi?id=89047

            Bug ID: 89047
           Summary: Read-Only ComboBox doesn't allow selection in PDF
                    export
           Product: LibreOffice
           Version: 4.4.0.3 release
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: bz...@florian-schmitt.net

Setting a ComboBox in a LO Writer form to Read-Only (right-click -> "Control"
-> "General" -> "Read-Only": "Yes") doesn't work when exporting the Form to
PDF. Instead of restricting the selection to the ComboBox entries, it prevents
selecting any entry completely.

Expected Behaviour:
-------------------

According to the docs, setting a ComboBox in a Writer Form to "Read-Only" (as
described above) prevents the user from entering arbitrary content into the
combobox, restricting her to the pre-defined values. This works fine when using
the form inside LO Writer. I expected this to work also when exporting the LO
Writer document to PDF, generating a PDF Form.

Current behaviour:
------------------

Instead of restricting the user to the pre-defined combobox values, he/she
can't select _any_ value from the combobox if that control was set "Read-only"
in Writer.

How to reproduce:
-----------------
1. Create a new odt file;
2. Insert a ComboBox;
3. Set the combobox read-only (either using the "Control" button in the toolbar
or by selecting "Control" from the context menu).
4. Enter some list entries;
5. Set a default list entry;
6. Optionally, add a Text Box to verify if the form is editable;
7. Disable design mode to check the form functionality: 
  - entering arbitrary content in the text box works;
  - selecting a combobox entry works;
  - entering arbitrary content in the combobox doesn't work (this is ok, since
it's read-only), 
8. Export the form as PDF (with PDF form generation enabled and PDF 1/A
disabled);
9. Open the resulting PDF and check functionality:
  - entering arbitrary content in the text field works;
  - selecting a combobox entry doesn't work (!);
  - entering arbitrary content in the combobox doesn't work, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to