Bug 150065 - FILEOPEN PPTX wrong font color in smartArt
Summary: FILEOPEN PPTX wrong font color in smartArt
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 150103 (view as bug list)
Depends on:
Blocks: OOXML-SmartArt
  Show dependency treegraph
 
Reported: 2022-07-19 15:23 UTC by Regina Henschel
Modified: 2025-04-18 20:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
SmartArt 'Pyramid' plus screenshot (49.23 KB, application/zip)
2022-07-19 15:23 UTC, Regina Henschel
Details
The first example file in current nightly and PP 2010 (140.39 KB, image/png)
2022-07-20 09:21 UTC, Gabor Kelemen (allotropia)
Details
Pyramid_basic-vs-Pyramid_list-after-MSO-export (87.54 KB, image/png)
2025-04-03 21:40 UTC, Balázs Varga (allotropia)
Details
Pyramid list (116.23 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-04-03 21:40 UTC, Balázs Varga (allotropia)
Details
Continuous Arrow Process (116.93 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-04-03 21:40 UTC, Balázs Varga (allotropia)
Details
Pyramid_list_MSO-LO (119.80 KB, image/png)
2025-04-03 21:47 UTC, Balázs Varga (allotropia)
Details
Compare_bugdoc_in_LO-OF-GS-MSO (235.77 KB, image/png)
2025-04-03 21:48 UTC, Balázs Varga (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2022-07-19 15:23:55 UTC
Created attachment 181336 [details]
SmartArt 'Pyramid' plus screenshot

Open attached document. It has a SmartArt on the first slide and a screenshot from it on the second slide. The font color is 'black' in PowerPoint but 'white' in Impress.
Comment 1 Gabor Kelemen (allotropia) 2022-07-20 09:21:09 UTC
Created attachment 181343 [details]
The first example file in current nightly and PP 2010

Confirming in

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 21a31eefab1401d288dbb8220f3df3365be9efaf
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

Seems like this color is coming from a theme.
Comment 2 Gabor Kelemen (allotropia) 2022-07-22 13:38:41 UTC
*** Bug 150103 has been marked as a duplicate of this bug. ***
Comment 3 Balázs Varga (allotropia) 2025-04-03 21:39:33 UTC
After a little investigation, it seems to me that this is more of an MS-Office bug for two Smart-Art types (Basic-Pyramid and Inverted-Pyramid). The problem does not occur with the other two Pyramid Smart-Art types (Pyramid List, Segmented Pyramid). The original error file also appears in white font when opened in OnlyOffice and Google Slides. The reason is that in ppt/diagrams/drawing1.xml, each <dsp:txBody> element has a

<dsp:style>
  <a:fontRef idx="minor">
    <a:schemeClr val="lt1"/>
  </a:fontRef>
</dsp:style>

<a:lt1>
  <a:sysClr val="window" lastClr="FFFFFF"/>
</a:lt1>

style font color set which in ppt/theme/theme1.xml refers to a white font color. I have created other Smart-Art types in MS-Office which default to black font color (Pyramid List --> attached Pyramid list.pptx, Continuous Arrow Process --> attached Continuous Arrow Process.pptx, Circle Process, Basic Venn, etc...) and they are displayed with black font color in LibreOffice, OnlyOffice and Google Slide. In these documents, the character color style for each <dsp:txBody> element in ppt/diagrams/drawing1.xml is either not referenced by any color (<a:fontRef idx="minor" />) or is referenced by black (<a:schemeClr val="tx1"/>).

Since the original bugdoc (with Basic-Pyramid and/or Inverted-Pyramid) was created in Microsoft Office with the default black text color, but was saved with white text color style, so according to OOXML Standard it should appear with white text color as it is happening in Google Sheet, OnlyOffice and in LibreOffice as well. See attached file Pyramid_basic-vs-Pyramid_list-after-MSO-export.png
Comment 4 Balázs Varga (allotropia) 2025-04-03 21:40:10 UTC
Created attachment 200160 [details]
Pyramid_basic-vs-Pyramid_list-after-MSO-export
Comment 5 Balázs Varga (allotropia) 2025-04-03 21:40:36 UTC
Created attachment 200161 [details]
Pyramid list
Comment 6 Balázs Varga (allotropia) 2025-04-03 21:40:56 UTC
Created attachment 200162 [details]
Continuous Arrow Process
Comment 7 Balázs Varga (allotropia) 2025-04-03 21:47:58 UTC
Created attachment 200163 [details]
Pyramid_list_MSO-LO
Comment 8 Balázs Varga (allotropia) 2025-04-03 21:48:25 UTC
Created attachment 200164 [details]
Compare_bugdoc_in_LO-OF-GS-MSO
Comment 9 Gerald Pfeifer 2025-04-17 21:40:15 UTC
(In reply to Balázs Varga (allotropia) from comment #3)
> After a little investigation, it seems to me that this is more of an
> MS-Office bug for two Smart-Art types (Basic-Pyramid and Inverted-Pyramid).
:
> Since the original bugdoc (with Basic-Pyramid and/or Inverted-Pyramid) was
> created in Microsoft Office with the default black text color, but was saved
> with white text color style, so according to OOXML Standard it should appear
> with white text color as it is happening in Google Sheet, OnlyOffice and in
> LibreOffice as well.

So it appears everyone except for Microsoft properly implements the 
OOXML Standard here?

As the originator of this document (and the duplicated bug #150103)
let me close this as NOTOURBUG.

(Anyone disagreeing, please override me.)


Thank you for the excellent diagnosis, Balázs.
Comment 10 Aron Budea 2025-04-18 20:56:33 UTC
(In reply to Gerald Pfeifer from comment #9)
> So it appears everyone except for Microsoft properly implements the 
> OOXML Standard here?
Ideally the goal would be for LO to match MSO bug-for-bug in case of OOXML and other Office format, as they are the authoritative implementation of these formats.

Regardless, since I can add nothing else here, I'm leaving this bug report as is.