Bug 104740 - PDF EXPORT: placeholder shape not exported
Summary: PDF EXPORT: placeholder shape not exported
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
3.6 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
Reported: 2016-12-17 19:42 UTC by Xisco Faulí
Modified: 2021-03-16 09:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

ODP file showing the same problem (10.90 KB, application/vnd.oasis.opendocument.presentation)
2016-12-17 19:55 UTC, Tamás Zolnai

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2016-12-17 19:42:43 UTC
1. Open attachment 128851 [details]
2. Export to PDF

Observed behaviour: output file is blank

Reproduced in

Build ID: 634589b340316ba64b731b4d923c1056be415494
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 1 Xisco Faulí 2016-12-17 19:44:13 UTC Comment hidden (obsolete)
Comment 2 Tamás Zolnai 2016-12-17 19:55:04 UTC
Created attachment 129733 [details]
ODP file showing the same problem
Comment 3 Tamás Zolnai 2016-12-17 20:00:22 UTC
It's not actually a regression. At least not a regression caused by my commit. I attached an ODP file which has the same problem if you try to export it to PDF.
It seems PDF export can't handle a placeholder shape which has no text and so placeholder text is shown in it.

I created the test document with opening a new presentation, removing the lower shape and setting a line color to the upper shape.

Since not the marked commit is the problem here, would be good to run a new bibisect using the ODP test document.
Comment 4 Tamás Zolnai 2016-12-17 20:11:11 UTC
One more thing, about why bibisect found this commmit. It's because, before this commit, placeholder text was not set during import for empty title shape. It's seems PDF export has a problem with the placeholder text. Otherwise it works when the shape is entirely empty or when the shape has some texts specified.
Comment 5 Xisco Faulí 2016-12-17 20:47:13 UTC
Hi Tamás,
Thanks you for analysing the problem. Indeed, it's been like that since a long time and it's not a regression. Updating the information...
Comment 6 QA Administrators 2017-12-18 03:26:50 UTC Comment hidden (obsolete)
Comment 7 Roman Kuznetsov 2019-03-16 20:53:31 UTC
still repro in

Version: (x64)
Build ID: 13a260f59e421f3e67845f8f2eb22b8f0f8fcaf0
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-11_02:46:09
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 8 QA Administrators 2021-03-16 04:28:26 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2021-03-16 09:04:01 UTC
Still reproducible in

Version: / LibreOffice Community
Build ID: c18e5fd7d6c85d4755f1a70d97336d07b2add510
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded