kwin/plugins
David Edmundson 1a13015d2d Possible fix for KDecoration crash in systemsettings
Summary:
I could never reproduce the crash, but we know from gdb that it's from
the decorationSettings object

We are setting the same QObject instance as a context property in
multiple contexts at once. This is already slightly odd especially from the POV of
Qt's internal property cache.

Given we want one object to be exposed to all contexts, we can expose it
to the parent context only once and achieve the same result in a simpler
way.

BUG: 411166

Test Plan:
Verified opening and closing system settings still worked for me.
I could never reproduce the original crash.

Reviewers: #kwin, ngraham

Reviewed By: ngraham

Subscribers: ngraham, apol, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D25913
2019-12-14 16:08:16 +01:00
..
idletime Use nullptr everywhere 2019-09-19 17:48:21 +03:00
kdecorations Possible fix for KDecoration crash in systemsettings 2019-12-14 16:08:16 +01:00
kglobalaccel Use nullptr everywhere 2019-09-19 17:48:21 +03:00
kpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2019-12-10 09:23:03 +01:00
platforms Fix non-atomic output init 2019-10-22 11:28:08 +02:00
qpa Don't use MESA_EGL_NO_X11_HEADERS 2019-10-24 18:57:30 +03:00
scenes Use lambdas for queued invocation of composition suspending 2019-09-26 16:09:16 +01:00
windowsystem fix compilation with no-deprecated build of kwindowsystem 2019-11-24 22:43:54 +01:00
CMakeLists.txt Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00