Bug 176344 - Font color in regional configuration's "test" widget is always black. See screenshot
Summary: Font color in regional configuration's "test" widget is always black. See scr...
Status: RESOLVED DUPLICATE of bug 157389
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-28 16:10 UTC by Dario Andres
Modified: 2008-11-28 16:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
SystemSettings Regional Configuration bug (52.97 KB, image/png)
2008-11-28 16:11 UTC, Dario Andres
Details

Note You need to log in before you can comment on or make changes to this 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 ***