Crash on dangling activeWindow in live preview
Closed this issue · 2 comments
vorlov-playrix commented
- Make a layout with a FrameWindow as the root
- Switch to live preview
- Activate a frame window (e.g. drag it)
- Switch to visual editor
- Switch back to live preview
- Interaction with the window will crash an editor
vorlov-playrix commented
The problem is in Titlebar, which is an active window actually. When destroying FW, TB is destroyed as a child, but makes its parent (FW) an active window. Context in FW is not cleared yet at this point, so FW becomes active despite being already destroyed!
vorlov-playrix commented
Fixed in CEGUI