Bug 169072 - FILESAVE PPTX File fails to open in PP again, difference between UI and convert-to (forum-mso-de-38427.ppt)
Summary: FILESAVE PPTX File fails to open in PP again, difference between UI and conve...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
6.2.8.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PPTX-Corrupted
  Show dependency treegraph
 
Reported: 2025-10-26 08:57 UTC by Aron Budea
Modified: 2025-10-26 08:59 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
forum-mso-de-38427.ppt (126.00 KB, application/vnd.ms-powerpoint)
2025-10-26 08:57 UTC, Aron Budea
Details
PPTX exported from PowerPoint (transitional) (67.98 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-10-26 08:58 UTC, Aron Budea
Details
PPTX exported from PowerPoint (strict) (68.13 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-10-26 08:58 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2025-10-26 08:57:49 UTC
Created attachment 203551 [details]
forum-mso-de-38427.ppt

Open and save the attached file, forum-mso-de-38427.ppt, to PPTX and try opening it in PowerPoint, it will fail.

Interestingly, when converting using convert-to with a command something like the following, the result is OK:
soffice.exe --convert-to pptx forum-mso-de-38427.ppt

The meaningful difference between the files is in '_rels/.rels' after unzipping, where the convert-to result has this:
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
While after saving from the UI as PowerPoint 2007-365 (*.pptx) format, it has the following:
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>

When saving using the UI, there's another format, Office Open XML Presentation (*.pptx), this also produces a working file, and the relationship type URI is the same as in the convert-to case.

What's interesting is that PowerPoint also exports this part like the "bad" PowerPoint 2007-365 (*.pptx) format from the UI, and of course it's able to read the file back, which means there must be other relevant differences:
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>

Observed with LO 26.2.0.0.alpha0+ (8ea8e254a3151f5390f3a10ff156fcaf8e7c5d5c) / Windows.
In latest of 5.2 Windows bibisect repo the export is OK, in 5.3 there is a likely unrelated change, causing validity issues (caught by OOXML-Validator), and when that disappears in 6.2, the file remains invalid (though OOXML-Validator shows no validity issues). Probably not worth chasing, and instead best to investigate this independently.
Since exporting most presentations to PPTX is OK in Impress, it might be interesting what detail of this presentation matters.
Based on the initial observation (UI vs. --convert-to), bug 165180 might be relevant.

Attaching PPTX exported by PowerPoint 2013 for reference, both the regular, transitional and strict ones.
Comment 1 Aron Budea 2025-10-26 08:58:31 UTC
Created attachment 203552 [details]
PPTX exported from PowerPoint (transitional)
Comment 2 Aron Budea 2025-10-26 08:58:57 UTC
Created attachment 203553 [details]
PPTX exported from PowerPoint (strict)