Hi everyone!
I didn’t have this problem until I upgraded Plasma 5 for Plasma 6 and wondered if there was any change in the code on how the window title bar text color is choosed depending on the “brightness” of its background.
Here are my observations:
- When the title bar background color is a “light” one, the text appears black.
- When the title bar background color is a “very dark” one, the text becomes white.
- When the title bar background color is a “midtone” one (as my purple below), it stays black, when I want it clearer…
My questions would be: what’s the threshold, how is it calculated, where in the source code can I enforce it, and was it indeed changed between KDE Plasma 5 and 6?
Thank you very much in advance for your help.