[Bug 486631] [NEW] FlashingLabel text is always black in Microblogging widget.

Philip Muskovac yofel at gmx.net
Sun Nov 22 12:33:27 UTC 2009


Public bug reported:

Binary package hint: kdeplasma-addons

The KDEµBlog Widget has a FlashingLabel on top that shows notifications about new tweets/characters left/etc. 
The bug is that the notification text is ALWAYS black. That makes it hard/impossible to read if you're using dark themese like oxygen.

The cause is following line in applets/microblog/microblog.cpp:
m_flash->setColor( Plasma::Theme::TextColor );

this is an attempt to set the color to the theme text color. BUT TextColor is an enum value used by the Theme indicating what color value is used, not the actual color value. The correct way to set the color would be:
m_flash->setColor( Plasma::Theme::defaultTheme()->color(Plasma::Theme::TextColor) );

With that the correct text color for the current theme is used (on
initialization).

ProblemType: Bug
Architecture: i386
Date: Sun Nov 22 13:19:44 2009
DistroRelease: Ubuntu 10.04
Package: kdeplasma-addons 4:4.3.2-0ubuntu6
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: kdeplasma-addons
Uname: Linux 2.6.31-15-generic i686

** Affects: kdeplasma-addons (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
FlashingLabel text is always black in Microblogging widget.
https://bugs.launchpad.net/bugs/486631
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdeplasma-addons in ubuntu.




More information about the kubuntu-bugs mailing list