[Breeze] [Bug 369676] White lockscreen text's readability depends on background

Michail Vourlakos bugzilla_noreply at kde.org
Fri Mar 16 21:18:41 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=369676

Michail Vourlakos <mvourlakos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mvourlakos at gmail.com

--- Comment #23 from Michail Vourlakos <mvourlakos at gmail.com> ---
(In reply to Marco Martin from comment #19)
> another version, with blur
> https://www.youtube.com/watch?v=KWCZwrPXfVk

Looks very good!
I just want to add some ideas in case they will help a bit more with the
contrast between the background and the text color used when the background
isnt blurred...

Latte demonstrated the following: https://www.youtube.com/watch?v=srkKkSnjG-w
watch out the top panel how changes its color...

The algorithm is the following:
1. For the underlying background is calculated the relative luminas only for
the region of the background which is under the panel
2. That luminas value is cached so it isnt calculated again when we switch to
that background
3. Based on that luminas value Latte is choosing between backgroundColor and
textColor, the one that provides the greater contrast.
4. [based on another Latte part that I had to make similar design decisions]
  a. When a whitish color is used for the text then enabling shadows looks
really good
  b. but when a darkish color is used for text then it is better to disable
totally the shadows

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list