Version: 0.8.2 (using KDE 3.3.2, (3.1)) Compiler: gcc version 3.3.5 (Debian 1:3.3.5-8) OS: Linux (i686) release 2.6.10 "View source" does not respect color configuration, at least partially. I got knode o'mine configured to always use BLACK as background color, and kind of amber-yellow as text color. "View source" however seem to use my background color as I see it black, but completely ignored my text color, rendering all text in... BLACK.
CVS commit by vkrause: Use custom color settings in folder tree and source viewer. CCBUG: 100533 M +1 -0 knarticlewidget.cpp 1.191 M +2 -0 kncollectionview.cpp 1.8 --- kdepim/knode/knarticlewidget.cpp #1.190:1.191 @@ -103,4 +103,5 @@ KNSourceViewWindow::KNSourceViewWindow(c style->setFontWeight(app->articleFixedFont().weight()); style->setFontItalic(app->articleFixedFont().italic()); + style->setColor( app->textColor() ); setText(QString("<qt><txt>%1</txt></qt>").arg(htmlCode)); --- kdepim/knode/kncollectionview.cpp #1.7:1.8 @@ -128,4 +128,6 @@ void KNCollectionView::readConfig() // FIXME: make this configurable mPaintInfo.colUnread = QColor( "blue" ); + mPaintInfo.colFore = app->textColor(); + mPaintInfo.colBack = app->backgroundColor(); }
CVS commit by vkrause: Backport fix for #100533 (use custom color settings in folder tree and source viewer). BUG: 100533 M +1 -0 knarticlewidget.cpp 1.190.2.1 M +2 -0 kncollectionview.cpp 1.7.2.1 --- kdepim/knode/knarticlewidget.cpp #1.190:1.190.2.1 @@ -103,4 +103,5 @@ KNSourceViewWindow::KNSourceViewWindow(c style->setFontWeight(app->articleFixedFont().weight()); style->setFontItalic(app->articleFixedFont().italic()); + style->setColor( app->textColor() ); setText(QString("<qt><txt>%1</txt></qt>").arg(htmlCode)); --- kdepim/knode/kncollectionview.cpp #1.7:1.7.2.1 @@ -128,4 +128,6 @@ void KNCollectionView::readConfig() // FIXME: make this configurable mPaintInfo.colUnread = QColor( "blue" ); + mPaintInfo.colFore = app->textColor(); + mPaintInfo.colBack = app->backgroundColor(); }
You need to log in before you can comment on or make changes to this bug.