Skip to content

Destruction of CDockWidget inside a CFloatingDockContainer #594

@IkkiNit

Description

@IkkiNit

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

image

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions