Bug 164344 - calc: plot default color is white
Summary: calc: plot default color is white
Status: RESOLVED DUPLICATE of bug 152664
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: High-Contrast
  Show dependency treegraph
 
Reported: 2024-12-16 10:24 UTC by M.Sz.
Modified: 2024-12-27 18:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M.Sz. 2024-12-16 10:24:47 UTC
Description:
Hi!
I experience this bug since a couple of years.
When I create a bar plot in LibreOffice Calc, bars are 100% white (so invisible).
Changing the color in properties doesn't do anything. If I go format data series -> area and when I change fill type to image, it works but every other option there (color/gradient e.t.c.) results in white bars. 

Steps to Reproduce:
1. open calc
2. create any series of data (e.g. numbers from 1 to 10 in columns a and b)
3. create chart (bars)

Actual Results:
resulting plot is 100% white

Expected Results:
iirc it should be blue or something (that worked on windows for me some time ago)


Reproducible: Always


User Profile Reset: No

Additional Info:
My OS is Arch linux.
I've tested on Fedora 38-41 as well.
I have High Cotrast setting enabled (but turning it off doesn't help)

Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 12; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
24.8.3-1
Calc: threaded
Comment 1 m_a_riosv 2024-12-17 00:39:54 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 2 M.Sz. 2024-12-17 14:20:52 UTC
same
Comment 3 zcrhonek 2024-12-27 16:49:58 UTC
No repro with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cac9c7db6257b27724d90d4a355e52e456ef7e08
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Please attach your file with chart. Thank you.
Comment 4 M.Sz. 2024-12-27 18:30:27 UTC
Hi!
I think I found how to reproduce my issue.
try

```
gsettings set org.gnome.desktop.interface gtk-theme 'HighContrast'
```

On gnome.
Comment 5 M.Sz. 2024-12-27 18:34:30 UTC
One more note: I think that 'HighContrast' theme doesn't exist (anymore?) so setting it seems to be a mistake. Setting theme back to Adwita fixes this issue.
I leave this as it is and let someone else decide if libreoffice can do something about that (I'd say: Default to Adwita if the color scheme doesn't exist but I'm not familiar with gtk at all so...)
Comment 6 M.Sz. 2024-12-27 18:38:30 UTC
please consider the comment above outdated.
Changing org.gnome.desktop.interface gtk-theme to 'Adwaita' fixes my issue as long as high contrast is disabled. When I enable HIgh Contrast switch in gnome accessibility settings my chart goes white again. I'll investigate further.
Comment 7 zcrhonek 2024-12-27 18:49:38 UTC
Hello, even with Hugh contrast I cannot reproduce with Version: 25.8.0.0.alpha0+ (X86_64), but I can reproduce with Version: 24.8.4.2 (X86_64). Gnome 42.9

Please, can you try developer version? You can download it here:
http://dev-builds.libreoffice.org/daily/master/
Thank you
Comment 8 zcrhonek 2024-12-27 18:51:45 UTC

*** This bug has been marked as a duplicate of bug 152664 ***