Bug 153040 - PDF Export: SDT Dropdown List is empty
Summary: PDF Export: SDT Dropdown List is empty
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0
Keywords:
Depends on:
Blocks: PDF-Export DOCX-Content_Control
  Show dependency treegraph
 
Reported: 2023-01-16 11:18 UTC by Xisco Faulí
Modified: 2023-06-03 01:30 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2023-01-16 11:18:32 UTC
Steps to reproduce:
1. Open attachment 182776 [details] from bug 151261
2. Choose any value in the dropdown list
3. Save it to PDF

-> There is an empty space in the dropdown list. The chosen value should have been displayed instead. Tested with Evince, Firefox and Chrome

Reproduced in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b9411e587586750f36ba9009b5f1e29fe461d8b5
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: de-DE (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2023-01-16 11:22:13 UTC Comment hidden (obsolete)
Comment 2 Xisco Faulí 2023-01-16 11:23:34 UTC
Hi Miklos,
I thought you might be interested in this issue, since it's part of your SDT work you implemented recently
Comment 3 Dieter 2023-01-31 07:08:49 UTC
I confirm it with

Version: 7.5.0.2 (X86_64) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded
Comment 4 Justin L 2023-06-02 22:06:52 UTC
Changed from plain text into an empty text input field with LO 7.5
commit 82d90529dc2b3cb8359dec78852cbd910a66d275
Author: Miklos Vajna on Mon Sep 12 09:30:38 2022 +0200
    sw content controls, rich text: add initial PDF export

and later was turned into a pre-filled text box with LO 7.5
commit 122419be4f7bf576f7db5456b8b6b1f6f700487f
Author: Miklos Vajna on Mon Oct 24 08:45:26 2022 +0200
    sw content controls, alias: add PDF export
Comment 5 Justin L 2023-06-02 23:06:43 UTC
I think I corrupted my test document in the last comment.

This time I looked for when it turned into the current situation, where we have a dropdown in the PDF. I bibisected it to 7.5
commit f726fbc2699b05199a8dec3055710a7131e0aad6
Author: Miklos Vajna on Mon Oct 10 10:07:10 2022 +0200
  tdf#151261 DOCX import: fix dropdown SDT when the item display text is missing

This went from an empty text input field to an empty dropbox field.
Comment 6 Commit Notification 2023-06-03 01:30:50 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7daf830830609cbb13a01ae55634187718c84d8a

tdf#153040 sw content controls PDF export: output listbox entry

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.