Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
-
-
ef8e548cf (dev), 8f27ca234 (6.7)
Description
A layout item for a child widget is not deleted if the layout was deactivated before the child widget is deleted. The ChildRemoved event is ignored in this case due an early return in QLayout::widgetEvent(QEvent *e).
The application crashes the next time the layout is activated and a method like totalMinimumSize() ist called because the orphaned element refers to a now invalid widget.
The bug also exists in 5.15.2 and later.