https://bugs.kde.org/show_bug.cgi?id=513518
--- Comment #4 from Paul McAuley <[email protected]> --- (In reply to Vlad Zahorodnii from comment #3) > (In reply to Paul McAuley from comment #1) > > Created attachment 187761 [details] > > window outline colours as displayed by KDecoration3::BorderOutline - bright > > and gaudy > > What if you premultiply rgb values by alpha? Hi Vlad, thanks for the suggestion -- that worked! I did the following: QColor color(qPremultiply(m_windowOutline.rgba())); color.setAlpha(m_windowOutline.alpha()); // QColor(QRgb) constructor discards alpha setBorderOutline(KDecoration3::BorderOutline(thickness, color, radius)); Now the colours are perfectly as expected. Would you plan to change this so this doesn't need to be done at decoration level, or are you going to leave things as they are now? I also see that there is no API documentation for KDecoration3::BorderOutline and KDecoration3::BorderRadius. -- You are receiving this mail because: You are watching all bug changes.
