Closed msarehn closed 6 months ago
Hi,
Is it repro with the example ./bin/qtquick_dockwidgets
?
Which flags are you passing to Config::setFlags() ?
Is it repro with the example
./bin/qtquick_dockwidgets
?
Nope.
Which flags are you passing to Config::setFlags() ?
None, we don't call this. Its at the default.
@msarehn I can't reproduce, but I understand why it happened. Should be fixed, please test latest 2.1 branch
@iamsergio that was quick, thanks! I was going through the code and arrived at the same solution the very moment you've pushed the fix.
Works as intendend, doesn't crash anymore 👍
Sometimes, although not reliably, KDDockWidgets (QtQuick backend) crashes when closing a DockWidget.
We've already had similar crashes before with 2.0. We've bumped to 2.1-dev because it includes b7db57c1 (Do not emit isFocusedChanged in a delayed manner) which improves the situation a little bit, but does not get rid of the crashes completely.
FWIW, we do have a commercial license for KDDW.
Details
Version: 2.1-dev commit 497f65f2
Backtrace
``` Thread 1 "coreui" received signal SIGSEGV, Segmentation fault. 0x00007ffff2824dc1 in QObjectPrivate::maybeSignalConnected(unsigned int) const () from /opt/qt6/lib/libQt6Core.so.6 (gdb) bt #0 0x00007ffff2824dc1 in QObjectPrivate::maybeSignalConnected(unsigned int) const () from /opt/qt6/lib/libQt6Core.so.6 #1 0x00007ffff2834ca8 in void doActivate