<table><tr><td style="">mkoller created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</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/D6941" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>being hit by the problem of plasmashell using way too much CPU even when doing "nothing", I found<br />
the description of the QSG_RENDER_LOOP env variable to be settable to basic, which solves the problem.<br />
However, even though I set the var in ~/.config/plasma-workspace/env/KDE5.sh plasmashell (and only this process)<br />
always ends up having the var set to an EMPTY string (I check this via /proc/PIC/environ).</p>
<p>I don't know from where RendererSettings is initialized, but I assume that the QString inside it is<br />
not null but empty, so isNull() == false but isEmpty() == true</p>
<p>With this patch, QSG_RENDER_LOOP=basic is now correct in plasmashell's env after a login.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R296 KDeclarative</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6941" rel="noreferrer">https://phabricator.kde.org/D6941</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/quickaddons/qtquicksettings.cpp</div></div></div><br /><div><strong>To: </strong>mkoller, davidedmundson<br /><strong>Cc: </strong>Frameworks<br /></div>