forked from mfreiholz/Qt-Advanced-Docking-System
-
Notifications
You must be signed in to change notification settings - Fork 667
Closed
Labels
Description
Hello,
I have a problem with the destruction of the floating widgets. The destructors of CDockWidgets are not always called when the application is closed if the docks are in floating mode.
It tested it with the sample DeleteOnCloseTest.
To repro it:
- add two more docks in the app ("test 1" and "test 2")
- make the "test 1" dock a floating widget
- put the "test 2" dock inside the "test 1" floating widget (over the "test1" widget, no problem when it is on a side)
- close the app and see that only two CDockWidgets are destroyed ("test 0" and "test 2"), the third one will never be destroyed ("test 1")
See the case in the attached screenshot. Thanks
