Actions
Bug #14381
openEnsure WPushButton popup menu is deleted with the button.
Start date:
03/09/2026
Due date:
% Done:
0%
Estimated time:
Description
In Wt, WPushButton.setMenu(std::unique_ptr menu) fully owns the popupmenu. The destructor of the button automatically destructs the popup menu as well, which invokes wApp->removeGlobalWidget(this);
In JWt there are no destructors. Removing the button doesn't automatically remove the popup menu, so it remains in the domroot.
Updated by Romain Mardulyn 7 days ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Romain Mardulyn 6 days ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Marnik Roosen to Romain Mardulyn
Actions