Created attachment 190190 [details] Sample document (PPTX) 1. Open attached document which has one slide. 2. "View" - "Master Slide" 3. Remove all but one master slide (which look the same) 4. Save under a new name and open the file just saved 5. Expected behavior: 1 slide, 1 master slide Actual behavior: 1 slide, many master slides (looking alike) Seen with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e9374f74385d7dfe77d1902d3d82af20143bc775 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Regression from Version: 7.6.3.0.0+ (X86_64) / LibreOffice Community Build ID: 9c8a1994bea590db7436638580231daf31844fd6 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US I am pretty sure this is caused by the changed from bug #155512 .
Yes, but .. That is WIP so this one should wait for the completion to check.
This isn't a new bug, the fix to bug 155512 only made it more apparent. When roundtripping the sample PPTX in an old LO, eg. 4.0.0.3, and opening it in PowerPoint, Slide Master view there shows all those extra master slides.
For the record, there are still patches for bug 155512 on gerrit that might interfere with the fix to this (can be seen by searching for "tdf#155512").
(In reply to Aron Budea from comment #3) > For the record, there are still patches for bug 155512 on gerrit that might > interfere with the fix to this (can be seen by searching for "tdf#155512"). Okay. Thanks for the note. Will wait with this until all the related patches are not merged. :)
Hi Balázs. Patches are there. Import now works, with some limits: parent slide is missing, so attachment 187524 [details] with 47 master slides in MSO will show 44 in LO, and order is somehow not the same.
*** Bug 134090 has been marked as a duplicate of this bug. ***
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/bff76421e234df7246a7f49c71a11432f86e09d1 tdf#157740 FILESAVE PPTX: fix explosion of the number of master slides It will be available in 24.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.
Balazs Varga committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/00ea1f0252fa2b59adc5336ffd0d5f5b73cf1203 tdf#157740 FILESAVE PPTX: fix explosion of the number of master slides It will be available in 24.2.0.0.beta2. 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.
Balazs Varga committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/a4640043ed772b5dcc1ee9d36cfd8b0e4759f894 tdf#157740 FILESAVE PPTX: fix explosion of the number of master slides It will be available in 7.6.5. 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.
Happy to confirm this appears fixed with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f989ee32b35ee4f0750ae313d35d225d252d64d4 CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US as the original reporter.