<table><tr><td style="">mart created this revision.<br />mart added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />mart requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20205">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>when an app starts when there isn't a kdeglobals yet, it reads from<br />
the color theme defined in the look&feel package, but it did build only the<br />
QPalette of the application. any application using KColorScheme directly failed to<br />
get the proper color at startup (e.g. plasmashell, but also any app needing a color present in kcolorscheme but not in qpaletter, like activetext, negativetext etc)</p>
<p>at the first start, copy over the colors from the scheme file to kdeglobals (same code of the kcm)<br />
that code is not cheap, but should be executed exactly once at the startup of the first app on an empty session</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>started plasma with breezedark as lnf as the only key in /etc/xdg/kdeglobals, plasmashell gets the proper breeze dark colors now</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R135 Integration for Qt applications in Plasma</div></div></div><br /><div><strong>BRANCH</strong><div><div>phab/initializeColors</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20205">https://phabricator.kde.org/D20205</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
src/platformtheme/khintssettings.cpp<br />
src/platformtheme/khintssettings.h</div></div></div><br /><div><strong>To: </strong>mart, Plasma<br /><strong>Cc: </strong>plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>