Bug 176344

Summary: Font color in regional configuration's "test" widget is always black. See screenshot
Product: [Applications] systemsettings Reporter: Dario Andres <andresbajotierra>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: SystemSettings Regional Configuration bug

Description Dario Andres 2008-11-28 16:10:23 UTC
Version:           System Settings: 4.1.3 (KDE 4.1.3) (using KDE 4.1.3)
OS:                Linux
Installed from:    Unlisted Binary Package

I use KDE 4.1.3 and KDE4.2svn in my ArchLinux x86_64 Box.
In both I use dark color scheme (with white/light fonts).
In KDE4.1.3 I use the QtCurve style, and in KDE4.2svn I use the default Oxygen.
In both KDE installations the fonts in "example"/"test" widget (displays current Number/Money/Date configuration) inside Regional Configuration(I don't know the original string, I use a localized version) of System Settings are black (instead of following my color scheme)
See the screenshot to understand the issue.
Comment 1 Dario Andres 2008-11-28 16:11:03 UTC
Created attachment 28890 [details]
SystemSettings Regional Configuration bug
Comment 2 Dario Andres 2008-11-28 16:42:31 UTC
UPDATE:

Looking at klocalesample:

http://websvn.kde.org/trunk/KDE/kdebase/runtime/kcontrol/locale/klocalesample.cpp?revision=710012&view=markup

This seems to be a "feature":

"
  // Whatever the color scheme is, we want black text
  QPalette pal = palette();
  pal.setColor(QPalette::Disabled, QPalette::WindowText, Qt::black);
  pal.setColor(QPalette::Active, QPalette::WindowText, Qt::black);
  pal.setColor(QPalette::Inactive, QPalette::WindowText, Qt::black);
  setPalette(pal);

"

However it's difficult to read when using the "Obsidian Coast" color scheme.
Comment 3 Dario Andres 2008-11-28 16:46:48 UTC

*** This bug has been marked as a duplicate of bug 157389 ***