GNOME Bugzilla – Bug 601370
Baobab does not use the system color scheme to draw its graphs
Last modified: 2021-05-26 09:26:59 UTC
Colors in Baobab charts are hard-coded and background is always drawn white, causing it to be inaccessible to people with poor vision whom rely upon a high-contrast, dark theme for readability. Reported originally in https://bugs.edge.launchpad.net/ubuntu/+source/gnome-utils/+bug/474824.
Created attachment 181149 [details] [review] Patch removing hardcoded background color First, sorry for the very low priority I gave to this bug. I really lacked time and energy to take a look at this before. I apologize. This very simple patch removes the custom background painting in BaobabChart class, allowing the chart widget to inherit background color from active theme. This fixes the issue with the background color, but it doesn't change the tango colors used to draw chart items. For that, I don't think a simple solution is possible. Probably replacing tango colors by some colors (wisely) obtained from the active theme.
Bug #349190 seems to be about mostly the same issue, though it mentions the colors in the treeview instead of the ones in the ring chart...
*** Bug 349190 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Baobab, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/baobab/-/issues/ Thank you for your understanding and your help.