[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colors of tooltips in themes
From: |
Fred Kiefer |
Subject: |
Re: Colors of tooltips in themes |
Date: |
Mon, 8 Jul 2019 18:54:10 +0200 |
OK, this is quite reassuring. So the change is basically working as expected.
But with themes that use a colour list where the new value isn’t present we get
the „wrong“ colour. That is the hard coded black colour instead of the
currently selected text colour as you expect. First we need to make Thematic
aware of the new colour keys, no idea how this is done. Next we should extend
the existing themes to support suitable colours for these keys. But we also
should think about a fallback mechanism in gui that is a bit more clever. We
should automatically use the text colour if the tool tips text colour is not
defined. I will try to come up with something like that.
Any taker for the Thematic and the themes task?
Fred
> Am 08.07.2019 um 12:52 schrieb Bertrand Dekoninck
> <bertrand.dekoninck@gmail.com>:
>
> On 2019-07-08 08:26:45 +0200 Fred Kiefer <fredkiefer@gmx.de> wrote:
>
>>
>>
>>> Am 07.07.2019 um 23:51 schrieb Bertrand Dekoninck
>>> <bertrand.dekoninck@gmail.com>:
>>
>>> On 2019-07-07 22:06:32 +0200 Fred Kiefer <fredkiefer@gmx.de> wrote:
>>
>>>> I have added two additional colours to NSColor: toolTipColor and
>>>> toolTipTextColor. They now get used in the tool tip display code. The
>>>> easiest way to adjust these colours in a theme is by using a colour list
>>>> in the theme where these colours are set to the desired values.
>>
>>>> Fred
>>
>>
>>> I see that you've set toolTipTextColor to black. That should work.
>>> But I've build and installed again gui and see no difference when using
>>> Sombre : tooltips' textcolor is still white on a lightyellow background. Do
>>> I miss something ?
>>> Bertrand
>>
>> Oops, this sounds wrong, I will need to test this but won’t have time until
>> very late today. Do you know how Sombre redefines the colours? Is it using a
>> colour list or overriding NSColor methods?
>>
>
> Sorry, it was my fault, but the state isn't perfect yet.
> I did install gui's update in the System domain, but it was still present in
> the Local domain, so I did'nt use the update. I've cleaned my system and it
> seems to be partially workong now.
> Any theme that uses default gnustep colors is correct (default, Heritage,
> WinClassic), but all those who have a custom color list are wrong (Nesedah,
> Narcissus, Neos, Rik, Silver, Sleek, Sombre, ThinkDark) : tooltips have black
> text on a black background.
> Bertrand
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
- Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/05
- Re: Colors of tooltips in themes, Fred Kiefer, 2019/07/07
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/07
- Re: Colors of tooltips in themes, Fred Kiefer, 2019/07/07
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/07
- Re: Colors of tooltips in themes, Fred Kiefer, 2019/07/08
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/08
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/08
- Re: Colors of tooltips in themes,
Fred Kiefer <=
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/08
- Re: Colors of tooltips in themes, Riccardo Mottola, 2019/07/08