Bug 163298 - FILEOPEN: PPTX: SVG logo shown black from 24.2
Summary: FILEOPEN: PPTX: SVG logo shown black from 24.2
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.2.0.0 beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2024-10-04 12:29 UTC by Timur
Modified: 2024-10-09 10:43 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample PPTX (786.27 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-10-04 12:29 UTC, Timur
Details
Screenshot powerpoint - impress (244.20 KB, image/png)
2024-10-04 13:21 UTC, m_a_riosv
Details
1005295 2_mso2019.pdf: the SVG is used in PowerPoint 2019 - the logo is black (78.21 KB, application/pdf)
2024-10-08 18:40 UTC, Justin L
Details
MSO 2021 shows Logo (464.11 KB, image/png)
2024-10-09 10:13 UTC, Timur
Details
MSO 2021 shows Logo (346.69 KB, image/png)
2024-10-09 10:33 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2024-10-04 12:29:55 UTC
Created attachment 196894 [details]
Sample PPTX

Bottom left "Ropo" logo turned black when opening and saving from 24.02 (and still black in master) from the commit 1db193c6c744289139b1df2af0b8defcf974b238

tdf#126084 import svg image from ooxml document that use svgBlip elem.
Comment 1 m_a_riosv 2024-10-04 13:21:42 UTC
Created attachment 196896 [details]
Screenshot powerpoint - impress

Reproducible, even in Safe Mode, with
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3370e122d7f9edf40895f90706047ceb8ee7229d
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: threaded

It is white on PowerPoing
Comment 2 m_a_riosv 2024-10-04 13:23:16 UTC
Seems to works with
Version: 7.6.7.2 (X86_64) / LibreOffice Community
Build ID: dd47e4b30cb7dab30588d6c79c651f218165e3c5
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Xisco Faulí 2024-10-04 13:47:22 UTC
inside the document image1.png is white while image2.svg is black so powerpoint is probable using image1.png instead of image2.svg
Comment 4 Xisco Faulí 2024-10-04 22:41:51 UTC
This is not a SVG filter issue
Comment 5 Justin L 2024-10-08 18:40:18 UTC
Created attachment 196968 [details]
1005295 2_mso2019.pdf: the SVG is used in PowerPoint 2019 - the logo is black
Comment 6 Justin L 2024-10-08 18:41:44 UTC
The Microsoft testing must have been done with older versions. I see the white logo in PowerPoint 2010, but PowerPoint 2019 uses the SVG image (which is black).
Comment 7 Timur 2024-10-09 10:13:58 UTC
Created attachment 196979 [details]
MSO 2021 shows Logo
Comment 8 Justin L 2024-10-09 10:22:28 UTC Comment hidden (obsolete)
Comment 9 Timur 2024-10-09 10:33:24 UTC
Created attachment 196980 [details]
MSO 2021 shows Logo

Thanks, this is a correction, logo also seen.
Comment 10 Justin L 2024-10-09 10:36:55 UTC
(In reply to Timur from comment #9)
What are your steps to reproduce. Are you just opening 1005295 2.pptx, or is round-tripping involved?

Comment 5 was from simply opening the file in PowerPoint (no LO involvement).
Comment 11 Timur 2024-10-09 10:37:51 UTC
Simple opening, as it is indicated as the main issue. 
RT is mentined, assuming it is a consequence.
Comment 12 Justin L 2024-10-09 10:43:16 UTC
Very interesting. So MSO goes from white (2010), to black(2019) back to white(2021). I would have to assume that this is a dark mode issue, and that the theme causes the black SVG object to be transformed into white since it is on a dark background.