Bug 155554

Summary: ODP to PPTX: "fit width to text" text box wraps to extra line when opened in Office 365
Product: LibreOffice Reporter: Christian <cparg>
Component: filters and storageAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: stephane.guillou
Priority: medium Keywords: filter:pptx
Version: 6.0.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 139900    
Attachments: Libre Office Rendering
testcase in PPTX format
testcase in ODP format
PPT rendering (with red annotations)

Description Christian 2023-05-30 07:42:35 UTC
Description:
rounded rectangles show up wrong in PowerPoint 365 
text boxes different in PowerPoint

Steps to Reproduce:
1. Open attached testcase in PowerPoint 365 
2. Open testcase.odp in Libre Office and compare
3.

Actual Results:
The rounded rectangles are rendered wrong in PPT
The text boxes are too narrow in PPT which makes PPT adding a line break on some words

Expected Results:
The graphics should show up same way in PPT as in LO to allow collaboration with colleagues using MS PowerPoint.


Reproducible: Always


User Profile Reset: No

Additional Info:
I took screenshots of the PPT rendering and LO renderings.
Comment 1 Christian 2023-05-30 07:43:06 UTC
Created attachment 187601 [details]
Libre Office Rendering
Comment 2 Christian 2023-05-30 07:43:34 UTC
Created attachment 187602 [details]
testcase in PPTX format
Comment 3 Christian 2023-05-30 07:43:52 UTC
Created attachment 187603 [details]
testcase in ODP format
Comment 4 Christian 2023-05-30 07:44:19 UTC
Created attachment 187604 [details]
PPT rendering (with red annotations)
Comment 5 Stéphane Guillou (stragu) 2023-05-30 10:53:05 UTC
Shape issue:

In 7.3.7.2, I can see the issue: I open the ODP file, save as PPTX, and reload the file -> the bottom of the rounded rectangles is inverted.
However, this shape issue (a regression) is now fixed in a current master build, and since LO 7.4.

Please update to a currently supported version (7.5 preferably).

(Tried to identify the fix but oldest version in the 7.4 bibisect repo is already OK.)

Text box issue:

I also reproduce this in a recent master build. Office 365 wraps over two lines whereas LO fits everything in the box, but the setting "fit width / height to text" on the text box is lost when saving as PPTX.

This looks like a limitation of PPTX not supporting this setting for shapes, but in my opinion, the filter should make sure that the fixed size should be enough to not wrap when opening in MS Office. Or is it not our bug?

Same in 6.0.0.3.