Bug 140046 - Charts & Graphs in LibreOffice Calc display as only black featureless rectangles when Windows uses a "dark mode" color scheme
Summary: Charts & Graphs in LibreOffice Calc display as only black featureless rectang...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: UI-Theming
  Show dependency treegraph
Reported: 2021-02-01 01:31 UTC by RT
Modified: 2022-04-27 12:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description RT 2021-02-01 01:31:25 UTC
When using a "Dark mode" or "high contrast" color scheme for Windows 7, All Charts and Graphs in Calc display as nothing but a single black rectangle.  If the black rectangle is selected and copy-pasted into, for example, MSPaint, it displays as a normal, colorful graph just as originally intended.  So it's creating the graph correctly in Calc, the graph is there, but not displaying it as anything but a black featureless box.  Changing the graph's colors in Calc has no effect, everything displays only as black.  Scanning the internet, I see others are reporting this same issue.  Just downloaded most recent version of LibreOffice, no change.  Calc displays graphs, charts fine if you select the "Standard default" color scheme for Windows.

Steps to Reproduce:
1. In any Calc spreadsheet, select any data set
2. Do Insert-Chart and create any Chart type
3. Voila, you have a big black rectangle in your spreadsheet  :)

Actual Results:
A big solid black rectangle is displayed where the chart should be

Expected Results:
A chart or Graph of the data would be displayed in the spreadsheet

Reproducible: Always

User Profile Reset: Yes

Additional Info:
Copy-pasting the black rectangle into any other LibreOffice Application just produces another black rectangle, but pasting it into any non-LibreOffice Application, say MSPaint, displays the chart/graph just as it should look.
Comment 1 Buovjaga 2022-04-27 12:23:55 UTC
Could you test with Win-x86_64@tb77-TDF from https://dev-builds.libreoffice.org/daily/master/current.html ? It is an unstable version that installs separately.

Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.