GNOME Bugzilla – Bug 707243
Hard-coded font colors in account tree?
Last modified: 2018-06-29 23:18:46 UTC
Created attachment 253780 [details] account tree view I've recently tried to tweak my dark GTK2 theme in order to change the color of fonts in the account tree columns which show balances/totals/etc. The first two columns (Account name and Description) follow (or are coincidentally the same) as the colors defined in my gtk-2.0/gtkrc theme. It looks like Gnucash uses its own widget GncTreeViewAccount (IIRC) and I've tried to directly apply a style to this widget to no avail. All figures are still black, unless the balance is negative, in which case they're shown in red. Since I use a theme with a dark background color, this makes the balances almost indistinguishable from the background unless I select the row I'm interested in explicitly.
Please fix this. This shouldn't be a difficult task to just remove fixed font color settings here. This is a show breaker for people who use dark themes and it still exists with version 2.6.3.
Have you tried Gnucash Preferences>Register>Use system theme colors?
Use System Theme Colors only affects the background colours used by the register, not the account tree. Red and black are indeed hardcoded in the account tree code for all columns that hold amounts. I have pushed a fix for this that will appear in gnucash 2.6.4. Thank you for your report and enjoy the improved color handling !
*** Bug 723410 has been marked as a duplicate of this bug. ***
*** Bug 743274 has been marked as a duplicate of this bug. ***
*** Bug 762558 has been marked as a duplicate of this bug. ***
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=707243. Please update any external references or bookmarks.