D25594: [Style KCM] Force active palette on widgets

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Nov 28 15:13:09 GMT 2019


broulik created this revision.
broulik added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  Since there isn't a real window, the widgets think they're inactive, leading to dull appearance.
  Also, while at it create the `QPalette` only once. `KColorScheme::applicationPalette` parses configuration and is super slow. Doing it only once significantly speeds up the KCM.

TEST PLAN
  Before
  F7788650: Screenshot_20191128_161303.png <https://phabricator.kde.org/F7788650>
  After
  F7788649: Screenshot_20191128_161218.png <https://phabricator.kde.org/F7788649>

REPOSITORY
  R119 Plasma Desktop

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

AFFECTED FILES
  kcms/style/previewitem.cpp

To: broulik, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191128/ec106cdb/attachment.html>


More information about the Plasma-devel mailing list