Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.8.1
Description
See attached video: Repeatedly undocking/docking tabbed QDockWidgets crash the application, in this case, the minimally modified qtbase/tests/manual/examples/widgets/mainwindows/dockwidgets example.
The only change I made was enabling these flags in the MainWindow's constructor:
setDockOptions((QMainWindow::DockOptions)(AllowNestedDocks | AllowTabbedDocks | GroupedDragging));
Please see the diff for the same changes: https://github.com/tamaskenezlego/qtbase/compare/6.8.1...qdockwidgets_crash
Also, the zipped sources are attached.
[^Screen Recording 2024-12-05 at 13.32.58.mov]dockwidgets.zip