Bug 165341 - FILEOPEN PPTX: paragraph alignment should be overridden by shape anchorCtr="1" with spAutoFit
Summary: FILEOPEN PPTX: paragraph alignment should be overridden by shape anchorCtr="1...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:pptx, regression
Depends on:
Blocks: 165336
  Show dependency treegraph
 
Reported: 2025-02-19 18:54 UTC by Justin L
Modified: 2025-02-21 13:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
165336_shapeTextAlignC.pptx: example document (30.14 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-02-19 18:54 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2025-02-19 18:54:13 UTC
Created attachment 199330 [details]
165336_shapeTextAlignC.pptx: example document

This is related to bug 165336, because there we had a bug that could only be seen by PowerPoint. That indicates that LO doesn't display the same as MSO. 

So, the example documents in that bug report could also be used.

It looks like the same 25.2 commit that causes bug 165336 is the one that is breaking the layout on file open.
commit 1d9ce0a67a71e51569cd33c26270eeece587a354
Author: Balazs Varga on Sun Oct 13 20:58:17 2024 +0200
    tdf#162571 - sd: Text box expands or shrinks on left or right or
    both sides, depending on the text alignment. Set the text anchor
    position based on the first paragraph alignment.

These documents have NOT been fixed by bug 165261's
commit 837e2cd1c0d79299f470f747b3216c662584b1d2
    tdf#165261 - PPTX import: fix text in shape is left-aligned
did NOT fix forum-mso-en-11064.pptx, R-L.pptx, or tabs.pptx,

I tried to create my own example to try to find out what makes these documents special, but I didn't succeed.

Found by Collabora/s mso-test
Comment 1 Justin L 2025-02-21 13:39:01 UTC
confirmed that the issue is still seen on master.