[PATCH] Try to fix the white font on Windows 7

Dirk Hohndel dirk at hohndel.org
Wed Oct 7 04:30:17 PDT 2015


On Wed, Oct 07, 2015 at 02:27:58PM +0300, Lubomir I. Ivanov wrote:
> On 6 October 2015 at 00:27, Tomaz Canabrava <tcanabrava at kde.org> wrote:
> > This should fix it.
> > if not, it's a start and people that have windows should look at this patch
> > to see how it can be fixed.
> >
> 
> works for Windows Vista/7 themes, but doesn't work on Windows XP
> themes, which have a dark blue background for items.
> hardcoding one of the colors is not a good solution. either all colors
> should be hardcoded or none.

But the patch should use standard fonts on XP. I actually tested XP and it
worked. Did you test this?

> i've tried fixing it but the highlightedText() color is returned
> white, while the background is the light blue on Windows Vista/7
> themes.

Broken by design. Beautiful

> the divelist selected items looks fine on the other hand:
> - the highlight text is black
> - the background is the light blue gradient thingy
> 
> so, i wonder how is the black highlightedText() text picked for divelist items?
> is this some sort of a QStyleOptionViewItemV4 issue...

Well, I tried the latest daily on XP, 7 and 10 and it looks fine on all
three. I just finished downloading an 8.1 trial VM from Microsoft and will
test on that later today.

/D


More information about the subsurface mailing list