[Bug 211224] kmail's number of new emails in tray icon uses colours from colour theme for its background

Christoph Feck christoph at maxiom.de
Thu Oct 22 09:55:38 BST 2009


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





--- Comment #7 from Christoph Feck <christoph maxiom de>  2009-10-22 10:55:37 ---
What could be done is comparing the actual contrast of the text color against
both the icon background and the scheme background, and choose whatever has
more contrast.

For this case (bright icon, relatively dark text, and dark background), that
comparison would chose the icons background instead, using some "average color"
algorithm.

Leaving the background purely transparent should not be done, as the icon might
have arbitrary complex graphics that might make the text unreadable, regardless
of its color.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list