Review Request 125734: Fix crash when exiting kscreen kcm in systemsettings

Martin Gräßlin mgraesslin at kde.org
Wed Oct 21 08:37:15 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125734/
-----------------------------------------------------------

Review request for Plasma, Kai Uwe Broulik and Daniel Vrátil.


Bugs: 344651
    http://bugs.kde.org/show_bug.cgi?id=344651


Repository: kscreen


Description
-------

When using threaded rendering loop [1] systemsettings crashed when
clicking the back button. This crash is caused inside the shader effect
used by the OpacityMask.
QtQuick informed us also that something is wrong:
"QSGDefaultLayer::bind: ShaderEffectSource: 'recursive' must be set to true when rendering recursively."

The actual problem is that orientationPanelContainer and the OpacityMask
are children to the monitor item causing recursion. By making them
siblings to the orientationPanelContainer the problem is resolved. The
error message from QtQuick is no longer shown and systemsettings doesn't
crash any more.

BUG: 344651
FIXED-IN: 5.4.3

[1] QSG_RENDER_LOOP=threaded systemsettings5


Diffs
-----

  kcm/qml/Output.qml 7bcaf39174a748a203eab5a420cb57c3639d0024 

Diff: https://git.reviewboard.kde.org/r/125734/diff/


Testing
-------


Thanks,

Martin Gräßlin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151021/880fa6b4/attachment.html>


More information about the Plasma-devel mailing list