Created attachment 204311 [details] lp1277529-1.odp Impress tends to save audio during animations and transitions linked into ODP, and with relative path (see bug 67544), eg. like this in content.xml (from lp1277529-1.odp, attached): <anim:audio xlink:href="../../../../usr/lib/libreoffice/basis3.3/share/gallery/sounds/apert.wav"/> If the file is moved elsewhere, these can become invalid, and when the file is saved to PPTX (which tries to embed the audio), in case of animations, invalid reference gets saved into the PPTX in ppt/slides/slideX.xml: <p:sndTgt name=""/> vs. something like this when the reference is valid: <p:sndTgt r:embed="rId1" name="apert.wav"/> To create such a file locally: - start a new presentation, - add a shape, - on Animations sidebar deck, click "+ Add" with the shape selected, - click the Options button, - pick a Sound from the dropdown, - save as ODP. Then: - move to a different directory, - open and save ODP to PPTX, - try opening the result in PowerPoint. Only animations are affected, transitions with invalid audio links are exported fine, the audio reference gets removed properly. Observed using LO 26.2.0.0.alpha1+ (2025-11-22), 6.3.0.4 / Windows. This started with the following commit in 6.3, when exporting audio to PPTX was implemented: https://git.libreoffice.org/core/commit/d98d3e2a0bc087ec9157e8e32e9f0ea4207d36e2 author Mark Hung <marklh9@gmail.com> Fri Mar 01 10:09:30 2019 +0800 committer Mark Hung <marklh9@gmail.com> Mon Mar 04 14:32:15 2019 +0100 tdf#44223: Export the audio of effects and transitions.
The fixes got merged with the wrong bug report reference. ---- Aron Budea committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/0cf6caa3c267805dc99c8c138656f901879e80fa tdf#169438 sd: reference to missing audio results in invalid PPTX It will be available in 26.2.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. ---- Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/d93ff51910f2c61949460eecc6fe6c0348ca652b tdf#169438 sd: reference to missing audio results in invalid PPTX It will be available in 25.8.4. 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.
Created attachment 204344 [details] lp823155-2.odp (In reply to Aron Budea from comment #0) > (from lp1277529-1.odp, attached): That was meant to be lp823155-2.odp.
Aron Budea committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/919b0984ed7bf5cfd599fbf0fcf613121026976e tdf#169706 correct unit test and file name It will be available in 26.2.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.
Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/29aad31182b878620beb3b6f1de470f98c8251dc tdf#169706 correct unit test and file name It will be available in 25.8.4. 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.