WPopupMenu destruction when inside a WMenuItem
If a WPopupMenu is attached to a WMenuItem and then the WMenuItem is removed from a callback of the popup the following error occurs:
[error] "WContainerWidget: removeWidget(): widget not in container"
It works fine when a WPushButton is used.
Updated by Achim Reutelsterz about 2 years ago
I'm facing the exact same behavior.
Besides that I noticed that with Wt4.5 the WPopupMenu stays open and will not close automatically.
With Wt 4.0.5 the WPopupMenu closes and will not stay open.