Actions
Bug #14381
closed
RM
RM
Ensure WPushButton popup menu is deleted with the button.
Bug #14381:
Ensure 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.
RM Updated by Romain Mardulyn 6 months ago
- Target version set to 4.12.6
RM Updated by Romain Mardulyn 6 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
MR Updated by Marnik Roosen 6 months ago
- Assignee set to Marnik Roosen
RM Updated by Romain Mardulyn 6 months ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Marnik Roosen to Romain Mardulyn
RM Updated by Romain Mardulyn 6 months ago
- Status changed from Implemented @Emweb to Closed
Actions