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
confirmed that the issue is still seen on master.
Text Anchor setting of the top textbox changed from (H) center, (V) top to (H) Right (V) top. Bottom textbox is wrong for a different reason (should be rotated 90 degrees right in layout, but Impress does not have a layout with rotated textbox).
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/37a99eb4d3489206d9385b9c065c5bb541c17b32 tdf#165341 - FILEOPEN PPTX: fix paragraph alignment for text wrapped shapes 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.
*** Bug 165336 has been marked as a duplicate of this bug. ***
*** Bug 165339 has been marked as a duplicate of this bug. ***
Balazs Varga committed a patch related to this issue. It has been pushed to "libreoffice-25-2": https://git.libreoffice.org/core/commit/7f6eae5eb75a3993cba47608e7f02f9e4ee24a75 tdf#165341 - FILEOPEN PPTX: fix paragraph alignment for text wrapped shapes It will be available in 25.2.3. 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.
Verified. I made "broken" round-tripped versions of R-L.pptx and tabs.pptx, and this time LO noticed that they were broken.
Balazs Varga committed a patch related to this issue. It has been pushed to "libreoffice-25-2-2": https://git.libreoffice.org/core/commit/ca83dcb82f55451eab1fb3fe63c98cf2cb88a480 tdf#165341 - FILEOPEN PPTX: fix paragraph alignment for text wrapped shapes It will be available in 25.2.2. 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.