Bug #10971
closedFree floating WPopupMenu when menu items are deleted in event handler
0%
Description
Hi,
I am using a WPopupMenu structure with multiple levels (some items are WPopupMenus which also contains WPopupMenus, ..)
The WPopupMenu is attached to a WPushButton.
The event handler of the selected WMenuItem may trigger a series of events in which the selected WMenuItem or WPopupMenu (sub-menu) is deleted.
This causes free floating / detached WPopupMenus that remain visible even if the parent container or WPushButton it's attached to are deleted.
I assume this might be because the WPopupMenu object is deleted before it can properly be hidden and removed from the rendered web page.
Is there any workaround?
Regards,
Martin
Updated by Martin Melcher about 2 years ago
Hello,
the problem disappeared when upgrading to Wt-4.8.1 (from Wt-4.4). This can be closed.
Martin
Updated by Roel Standaert about 2 years ago
- Status changed from New to Closed
- Target version deleted (
4.10.0)
That's good to hear. Closing.