https://bugs.kde.org/show_bug.cgi?id=508849
David Edmundson <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|REPORTED |CONFIRMED --- Comment #5 from David Edmundson <[email protected]> --- Reported should be for things that aren't triaged. The trace has everything we need. >Object %p destroyed while one of its QML signal handlers is in progress or the >application is running a nested event loop" src/Gui/SaveAsAction.qml 10: onTriggered: contextWindow.saveAs() invokes something from QML That calls: ExportManager::instance()->exportImage(ExportManager::Save | ExportManager::UserAction, SpectacleCore::instance()->outputUrl()); exportImage goes into multiple paths with KJob::exec They're just calling listDir and mkPath, so you'd need to be ninja fast to trigger that on a local filesystem. If you manage to close the window whilst in that KJob::exec you unwind the stack and end up deleting the Button containing the QQuickToolButton which contains the saveAs action (which is what we see in the trace at frame 20 and 16) A fast fix we do elsewhere would be running exportImage from a posted event (QTimer::singleShot(this, 0, ...) so that nested event loops aren't from QML space. -- You are receiving this mail because: You are watching all bug changes.
