This isn't a problem for me, but some KXStudio users pointed out that Qtractor has some almost black-on-black text when used with the KXStudio theme (or presumably other dark themes). Specifically the current track's name, in
qtractorTrackList::drawCell. Apparently you can't trust pal.midlight(). Maybe just use reverse colors for current track? i.e.
bg = pal.windowText().color(); fg = pal.window().color();
Or something like this to always choose a contrasting text color?
#define oppcolor(c,n) (c.lightness()>127 ? c.darker(n) : c.lighter(n)) bg = oppcolor(pal.midlight().color(), 150); fg = oppcolor(bg, 300);
That's just a start, I've barely tested it. What do you think though?
Log in to post a comment.