Bug 158043 - pptx import, placeholder shape missing, wrong inheritance from layout page
Summary: pptx import, placeholder shape missing, wrong inheritance from layout page
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.4.5.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: PPTX-MasterSlide
  Show dependency treegraph
 
Reported: 2023-11-02 14:37 UTC by Sven-Jacobi
Modified: 2025-12-19 03:12 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
placeholder field missing, wrong text displayed on slide (18.39 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-11-02 14:37 UTC, Sven-Jacobi
Details
screenshot-office365-one-shape-on-slide-with-correct-placeholder-text (61.38 KB, image/jpeg)
2023-11-03 08:45 UTC, Sven-Jacobi
Details
screenshot-windows-7-5-6-no-shape-on-slide-wrong-placeholder-text (92.97 KB, image/jpeg)
2023-11-03 08:46 UTC, Sven-Jacobi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven-Jacobi 2023-11-02 14:37:09 UTC
Created attachment 190616 [details]
placeholder field missing, wrong text displayed on slide

This bug is a regression, everything works fine in LO 7.1.6. The first version I found this problem was in LO 7.4.5.

If you load the attached document then there should be one shape on the first slide. If loading in LO 7.4.5 and later versions the shape on the first slide is missing.
Comment 1 m_a_riosv 2023-11-02 21:41:32 UTC
Opening with
Microsoft® PowerPoint® para Microsoft 365 MSO (versión 2310 compilación 16.0.16924.20054) de 64 bits 

there is nothing either.
Comment 2 Sven-Jacobi 2023-11-03 08:45:47 UTC
Created attachment 190631 [details]
screenshot-office365-one-shape-on-slide-with-correct-placeholder-text
Comment 3 Sven-Jacobi 2023-11-03 08:46:25 UTC
Created attachment 190632 [details]
screenshot-windows-7-5-6-no-shape-on-slide-wrong-placeholder-text
Comment 4 Sven-Jacobi 2023-11-03 08:47:28 UTC
This bug seems to be the result of following commit:

pptx: import shape text from master page

If shape has custom text defined in master page
but no text itself - don't prefer placeholder text
but text from master page.

Change-Id: Id4f7aeca0e74ecd8565905cd656a182c1195fa30
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154980
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155335
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Comment 5 Sven-Jacobi 2023-11-03 08:51:29 UTC
My comments on this:

Also if the placeholder shape does not have its own text it's not a good idea to remove this shape for following reasons:

- the user may want to remove the placeholder
- the user may want to move / resize the placeholder
- or the user want to have different text within the placeholder ...

If this shape is missing it is not easy to archive this.
Comment 6 raal 2023-11-09 20:32:20 UTC
confirm with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 41d9584179ef7b4e18eda47c2c0a955df8c087a5
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

154980: pptx: import shape text from master page | https://gerrit.libreoffice.org/c/core/+/154980

Adding Cc to: Szymon Kłos
Comment 7 Aron Budea 2023-12-19 16:16:39 UTC
That's strange, because the mentioned commit is only in 24.2 and 7.6, and definitely not in 7.5 or 7.4 as the attachment name and the specified version number suggests.

For me this started between 7.0.0.3 and 7.3.0.3.
Comment 8 QA Administrators 2025-12-19 03:12:54 UTC
Dear Sven-Jacobi,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug