<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: KWin, kwin, plasma-devel.
</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/D9239" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>PreviewCient is internal to the KCM, it's not used by actual decorations<br />
where we need API compatibility.<br />
This property is not used by the KCM.</p>

<p>The current code parses every color scheme config file for every<br />
decoration. This is one of the big contributing factors to this KCM<br />
being a bit sluggish.</p>

<p>It was effectively deprecated in 2015 when a decoration palette was<br />
introduced. If we wanted to add colorscheme functionality in the KCM,<br />
we'd use that instead at a previewclient level.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Found this was a problem with hotspot<br />
Grepped code for usage<br />
Ran KCM</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9239" rel="noreferrer">https://phabricator.kde.org/D9239</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcmkwin/kwindecoration/declarative-plugin/previewclient.cpp<br />
kcmkwin/kwindecoration/declarative-plugin/previewclient.h</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, KWin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart<br /></div>