Bug 169548 - FILESAVE PPTX Shape saved as "Autofit text to placeholder" loses height
Summary: FILESAVE PPTX Shape saved as "Autofit text to placeholder" loses height
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
25.8.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: PPTX-Textbox
  Show dependency treegraph
 
Reported: 2025-11-19 18:31 UTC by Gabor Kelemen (Collabora)
Modified: 2025-11-19 22:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The example file in Impress, its PPTX version in PP and Impress (155.18 KB, image/png)
2025-11-19 18:31 UTC, Gabor Kelemen (Collabora)
Details
The PPTX file saved at a second time (8.46 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-11-19 18:32 UTC, Gabor Kelemen (Collabora)
Details
The second time saved PPTX and the original file in Impress (108.97 KB, image/png)
2025-11-19 18:33 UTC, Gabor Kelemen (Collabora)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (Collabora) 2025-11-19 18:31:59 UTC
Created attachment 204107 [details]
The example file in Impress, its PPTX version in PP and Impress

This is related to bug 169524

If the ODP attachment 204073 [details] gets saved to PPTX and reloaded, the textbox gets a bit less high.

1. Open attachment 204073 [details]
-> In the sidebar, notice that the textbox height is 16.84 cm
2. Save as PPTX, open in PP
-> In the sidebar, the textbox height is also 16.84 cm - good!
3. Open the PPTX in Impress
-> The text flows out of the box, the textbox height is 16.59 cm (0.25 cm smaller...).
4. Save the PPTX again, reopen in Impress
-> Now the textbox height is 16.34 cm (0.25 cm smaller again)
5. Open the saved PPTX in PP
-> The textbox height is 16.59 cm

So there is a bit of height loss upon each reload, compounding with each save.

This started in 25.8, but before it was automatically fitting the height, which may or may not have been better:

commit 620b89adea77519fd5d057cac7e1acf8a6fb2544
Author: Balazs Varga <balazs.varga.extern@allotropia.de>
Date:   Thu Mar 6 13:29:07 2025 +0100

    tdf#165321 - sd ooxml import fix missing shapes or shapes with near
    
    zero height
Comment 1 Gabor Kelemen (Collabora) 2025-11-19 18:32:30 UTC
Created attachment 204108 [details]
The PPTX file saved at a second time
Comment 2 Gabor Kelemen (Collabora) 2025-11-19 18:33:44 UTC
Created attachment 204109 [details]
The second time saved PPTX and the original file in Impress