D6941: fix plasmashell unsetting QSG_RENDER_LOOP

Martin Koller noreply at phabricator.kde.org
Wed Jul 26 21:15:14 UTC 2017


mkoller created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  being hit by the problem of plasmashell using way too much CPU even when doing "nothing", I found
  the description of the QSG_RENDER_LOOP env variable to be settable to basic, which solves the problem.
  However, even though I set the var in ~/.config/plasma-workspace/env/KDE5.sh plasmashell (and only this process)
  always ends up having the var set to an EMPTY string (I check this via /proc/PIC/environ).
  
  I don't know from where RendererSettings is initialized, but I assume that the QString inside it is
  not null but empty, so isNull() == false but isEmpty() == true
  
  With this patch, QSG_RENDER_LOOP=basic is now correct in plasmashell's env after a login.

REPOSITORY
  R296 KDeclarative

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

AFFECTED FILES
  src/quickaddons/qtquicksettings.cpp

To: mkoller, davidedmundson
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170726/44447666/attachment.html>


More information about the Kde-frameworks-devel mailing list