Bug 160487 - FILESAVE PPTX "Fit height to text" attribute of drawing objects (placeholders)
Summary: FILESAVE PPTX "Fit height to text" attribute of drawing objects (placeholders)
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Balázs Varga (allotropia)
URL:
Whiteboard: target:25.8.0 target:25.2.0.0.beta2
Keywords: filter:pptx
Depends on:
Blocks: PPTX-Textbox
  Show dependency treegraph
 
Reported: 2024-04-02 16:53 UTC by Gabor Kelemen (allotropia)
Modified: 2024-12-05 20:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The example file saved as pptx (48.96 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-04-02 16:53 UTC, Gabor Kelemen (allotropia)
Details
The example file and its resaved PPTX version in Impress (103.54 KB, image/png)
2024-04-02 16:54 UTC, Gabor Kelemen (allotropia)
Details
The example file and its resaved PPTX version in PP 2016 (77.44 KB, image/png)
2024-04-02 16:56 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-04-02 16:53:20 UTC
Created attachment 193439 [details]
The example file saved as pptx

Followup to bug 119617

When attachment 144568 [details] is opened in Impress, the placeholder textbox has the "Resize shape to fit text" option of PP mapped to the textbox property "Fit height to text".
If it is saved as PPTX, the teproperty becomes in PP "Do not autofit" and in Impress the "Fit height to text" is unchecked.

1. Open attachment 144568 [details] 
2. Save as PPTX, reload
-> delete or add one more row of text in the bottom left placeholder: it does not become resized. After step 1, this worked.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c9d4f99b2bb54ac7735b3e0d0cadbafbd0279518
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default
Comment 1 Gabor Kelemen (allotropia) 2024-04-02 16:54:10 UTC
Created attachment 193440 [details]
The example file and its resaved PPTX version in Impress
Comment 2 Gabor Kelemen (allotropia) 2024-04-02 16:56:51 UTC
Created attachment 193441 [details]
The example file and its resaved PPTX version in PP 2016
Comment 3 Buovjaga 2024-07-23 07:20:51 UTC
Repro with file.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a7de9cc5e89cd0d0c2f6363b2c0cc265c528b121
CPU threads: 8; OS: Linux 6.9; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 23 July 2024
Comment 4 Commit Notification 2024-12-05 08:06:31 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/293d03e6803be57af7a3948e358e7ed9f8545c13

tdf#160487 - PPTX export: fix "Fit height to text"

It will be available in 25.8.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.
Comment 5 Buovjaga 2024-12-05 12:46:09 UTC
Verified, thanks

Arch Linux 64-bit
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 139bb786bb4fe5cf2554f6016095ff1588f3994f
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 5 December 2024
Comment 6 Commit Notification 2024-12-05 20:29:28 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/2090e0b697fa08cbbc0b1c9c8083b25b25602f41

tdf#160487 - PPTX export: fix "Fit height to text"

It will be available in 25.2.0.0.beta2.

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.