Version: (using KDE 4.2.0) Installed from: Fedora RPMs The news widget displays white letters on a white background on the alternating row in KDE 4.2.0. These are the lines from a freshly generated news.css (/home/USER/.kde/share/apps/plasma_applet_news/news.css): .line-0 { font-size:10pt; color:#ffffff; background-color:#000000; } .line-1 { font-size:10pt; color:#ffffff; background-color:#ffffff; } The expected behavior is obviously the opposite of .line-0: .line-0 { font-size:10pt; color:#ffffff; background-color:#000000; } .line-1 { font-size:10pt; color:#000000; background-color:#ffffff; }
Silly me, news.css is linked to the plasma theme I was using (Glassified - http://www.kde-look.org/content/show.php/Glassified?content=81388). It can be grabbed from the "New themes" option at the appearance setting screen, which I did. I'll report this elsewhere instead.
Sorry for the inconvenience but the Glassified theme doesn't seem to have a custom news.css attached. Instead *some* default values are being used. Investigating this further, asking #plasma on irc.freenode.net has learned me that "default/stylesheets/news.css" should be used when a custom stylesheet for a desktop theme cannot be found. Although, for me "stylesheets/default/news.css" ( /usr/share/kde4/apps/desktoptheme/default/stylesheets/ ) contains: .line-0 { font-size:10pt; color:#fcfcfc; background-color:#0f0f0f; } .line-1 { font-size:10pt; color:#fcfcfc; background-color:#2f2f2f; } Which is still different from what I reported. Therefor I'm reopening the bug. PS. there's also a "default" folder in "/home/USER/.kde/share/apps/desktoptheme/" but that one only contains an empty "wallpapers" folder.
SVN commit 932386 by pdamsten: Better alternate background color for generated css. BUG: 185527 M +5 -3 news.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=932386