Impossible to read text when using dark theme

Bug #1916932 reported by Alexandre Delahaye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Low
Maxime DOYEN

Bug Description

System information:
+ Ubuntu Mate 20.04
+ HomeBank 5.3.2
+ GTK 3.24.20

I'm using Ubuntu's dark theme and a part of the main window report is unreadable because the labels are still black (see screenshot in attachment). That's a bit weird because the rest of the main window is ok (the font color has switched from black to white).
This issue is also present in the reports windows when plotting the accounts in a bar or pie chart.

Revision history for this message
Alexandre Delahaye (menoetios) wrote :
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

upgrade,
5.3.2 is outdated

Changed in homebank:
status: New → Invalid
Revision history for this message
Alexandre Delahaye (menoetios) wrote :

I updated Homebank. Same bug on version 5.5.

Changed in homebank:
status: Invalid → New
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

then it may comes from your theme, I tested with yaru and don't have problem.
what is the theme you uses ?

Changed in homebank:
status: New → Incomplete
Revision history for this message
Alexandre Delahaye (menoetios) wrote :

I'm using the Ambiant-MATE-Dark theme. I guess it's only available on Ubuntu Mate, so I'm not sure you will be able to reproduce the bug...

Revision history for this message
Maxime DOYEN (mdoyen) wrote :
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

ok, found and fixed

Changed in homebank:
assignee: nobody → Maxime DOYEN (mdoyen)
importance: Undecided → Low
milestone: none → 5.5.1
status: Incomplete → Fix Committed
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

for the record:
as your theme do not contains theme_text_color (and should:this is a standard color name)
hb fail to get the text_color (this was the bug)

and as a bypass:
----------------
open the gtk-3.0/gtk-main.css

and add a line:
@define-color theme_text_color @text_color;

Revision history for this message
Alexandre Delahaye (menoetios) wrote :

I just tried: the bypass works. Thanks a lot!

Maxime DOYEN (mdoyen)
Changed in homebank:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.