D27035: [KMessageWidget] Draw it with QPainter instead of using stylesheet

David Redondo noreply at phabricator.kde.org
Fri Jan 31 13:49:27 GMT 2020


davidre added a comment.


  In D27035#604026 <https://phabricator.kde.org/D27035#604026>, @ngraham wrote:
  
  > Uh-oh, now it looks like this in Konsole: F8056116: Screenshot_20200131_064332.png <https://phabricator.kde.org/F8056116>
  >
  > Compare to the current appearance: F8056130: Screenshot_20200131_064445.png <https://phabricator.kde.org/F8056130>
  >
  > I recall wrestling with this issue in D12508 <https://phabricator.kde.org/D12508>. Might be worth looking over that.
  
  
  That's because it wants to look transparent and mixes the background color with its color. One fix could be to also use the parent's text color (in this case white) or stop using `QPalette::Window` for data storage and mix with the window color of the widget's palette and use something else (maybe QPalette::Base). Opinions?

REPOSITORY
  R236 KWidgetsAddons

REVISION DETAIL
  https://phabricator.kde.org/D27035

To: davidre, #frameworks, ngraham
Cc: cfeck, dhaumann, ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200131/d3bc6cf0/attachment.html>


More information about the Kde-frameworks-devel mailing list