https://bugs.kde.org/show_bug.cgi?id=360020

--- Comment #22 from Thomas Lübking <thomas.luebk...@gmail.com> ---
It will be the custom palette calls.

a) EmbeddedWebView:
    // Redmine#3, the QWebView uses black text color when rendering stuff on
dark background
    QPalette palette = QApplication::palette();
    if (palette.background().color().lightness() < 50) {
        QStyle *style = QStyleFactory::create(QStringLiteral("windows"));
        Q_ASSERT(style);
        palette = style->standardPalette();
        setPalette(palette);
    }

and b) MessageView
   QPalette pal = palette();
   pal.setColor(backgroundRole(), palette().color(QPalette::Active,
QPalette::Base));
   pal.setColor(foregroundRole(), palette().color(QPalette::Active,
QPalette::Text));
   setPalette(pal);

If (a) is the trigger, that's kinda our problem (and we've css to define colors
of all elements in the message)
(b) would imply that qt5ct uses the style hooks to alter the palette for each
widget during polishment - and that would be terrible behavor and a bug in the
qt5ct platform theme.

@Hohyeis
ready do compile some patches?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to