https://bugs.kde.org/show_bug.cgi?id=363224
--- Comment #1 from Thomas Lübking <thomas.luebk...@gmail.com> --- #15 0x00007f37c9edf9a8 in KWin::EffectsHandler::desktopPresenceChanged(KWin::EffectWindow*, int, int) () at /lib64/libkwineffects.so.8 run "kcmshell5 desktop" and disable the indication in the second tab > #9 0x00007f37c98da112 in QScriptEngine::newQObject(QObject*, > QScriptEngine::ValueOwnership, QFlags<QScriptEngine::QObjectWrapOption> > const&) () at /lib64/libQt5Script.so.5 Can you create a bachtrace with full debug support (notably values not stripped - I do not know whether installing the fedora dbg packages would provide that) Wrt to bug #320536 either a dead engine is accessed or (I rather suspect) QML doesn't like to be wired down 0x0 objects (in which case we'd need to test the object and conditionally return QScriptEngine::nullValue()) like so: -------- diff --git a/scripting/scriptedeffect.cpp b/scripting/scriptedeffect.cpp index 7073792..0594070 100644 --- a/scripting/scriptedeffect.cpp +++ b/scripting/scriptedeffect.cpp @@ -413,8 +413,11 @@ QScriptValue kwinEffectCancel(QScriptContext *context, QScriptEngine *engine) QScriptValue effectWindowToScriptValue(QScriptEngine *eng, const KEffectWindowRef &window) { - return eng->newQObject(window, QScriptEngine::QtOwnership, - QScriptEngine::ExcludeChildObjects | QScriptEngine::ExcludeDeleteLater | QScriptEngine::PreferExistingWrapperObject); + if (window) + return eng->newQObject(window, QScriptEngine::QtOwnership, + QScriptEngine::ExcludeChildObjects | QScriptEngine::ExcludeDeleteLater | QScriptEngine::PreferExistingWrapperObject); + else + return QScriptEngine::nullValue(); } void effectWindowFromScriptValue(const QScriptValue &value, EffectWindow* &window) -- You are receiving this mail because: You are watching all bug changes.