Bug 165125 - PPTX export to PDF is wrong
Summary: PPTX export to PDF is wrong
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Patrick (volunteer)
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 165176 (view as bug list)
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2025-02-08 12:32 UTC by raal
Modified: 2025-03-01 23:52 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
test file (65.06 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-02-08 12:32 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2025-02-08 12:32:29 UTC
Description:
regression, PDF export

Steps to Reproduce:
1.open attached file
2.export to PDF


Actual Results:
Wrong export of blue shapes.

Expected Results:
correct export


Reproducible: Always


User Profile Reset: No

Additional Info:
.
Comment 1 raal 2025-02-08 12:32:51 UTC
Created attachment 199070 [details]
test file
Comment 2 raal 2025-02-08 12:34:53 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-25.8.
Adding Cc: to Patrick Luby ; Could you possibly take a look at this one?
Thanks
 29abdb9214ca93af5bac8effc1cb89bb37c272d8 is the first bad commit
commit 29abdb9214ca93af5bac8effc1cb89bb37c272d8
Author: Jenkins Build User <tdf@maggie.tdf>
Date:   Sat Jan 25 20:17:32 2025 +0100

    source 5e03f4d40c14cc79b1f3f790955196a31eec5d3c

180746: tdf#164223 invert alpha mask for JPEG images | https://gerrit.libreoffice.org/c/core/+/180746
Comment 3 BogdanB 2025-02-08 12:59:36 UTC
Confirm with
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4cd88c0534e11b8357f15428deb0ee52689cb7d5
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Was good in
Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 4 Patrick (volunteer) 2025-02-08 13:54:26 UTC
I have uploaded the following revert of the fix for tdf#164223:

https://gerrit.libreoffice.org/c/core/+/181291

Interestingly, tdf#164223 is still fixed after reverting so I assume that some of @Noel's recent work fixed that bug elsewhere in the code.

I'll commit the above patch as soon as it passes automated testing, but the next question is does either this bug or tdf#164223 occur in the 24.8 or 25.2 nightly builds (I had backported the fix for tdf#164223 to both branches)? If so, let me know and I can backport the revert before either of those branches are in an official release.
Comment 5 Patrick (volunteer) 2025-02-08 15:36:12 UTC
(In reply to Patrick (volunteer) from comment #4)
> I'll commit the above patch as soon as it passes automated testing, but the
> next question is does either this bug or tdf#164223 occur in the 24.8 or
> 25.2 nightly builds (I had backported the fix for tdf#164223 to both
> branches)? If so, let me know and I can backport the revert before either of
> those branches are in an official release.

Looks like the linux_clang_debug build is broken due to some Java tests so commit will have to wait until someone resolves that.

I have rebuilt locally with libreoffice-24-8 and libreoffice-24-8-5 and reverting the patch in both of those not only fixes this bug, but also tdf#164223 so I have submitted reverts for both branches.

Working on libreoffice-25-2 and libreoffice-25-2-1 branches next.
Comment 6 Patrick (volunteer) 2025-02-08 16:25:45 UTC
(In reply to Patrick (volunteer) from comment #5)
> Working on libreoffice-25-2 and libreoffice-25-2-1 branches next.

OK. Rebuilt both of the above branches and reverting fixes both this bug and tdf#164223 so revert patches uploaded to both branches.

So now there are 5 patches awaiting commit. Once those are committed, the bad commit for tdf#164223 shouldn't be included in any upcoming releases.
Comment 7 Xisco Faulí 2025-02-10 21:30:58 UTC
*** Bug 165176 has been marked as a duplicate of this bug. ***
Comment 8 Patrick (volunteer) 2025-03-01 23:52:44 UTC
I confirmed that the fix is in LibreOffic 25.2.1:

Version: 25.2.1.2 (AARCH64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 8; OS: macOS 15.3.1; UI render: Skia/Metal; VCL: osx
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded