Project

General

Profile

Actions

Bug #7009

open

WPopupMenu destruction when inside a WMenuItem

Added by Maximilian Kleinert over 5 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/18/2019
Due date:
% Done:

0%

Estimated time:

Description

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.


Files

main.cpp (1.43 KB) main.cpp Maximilian Kleinert, 04/18/2019 10:19 AM
Actions #1

Updated by Achim Reutelsterz almost 4 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.

Actions

Also available in: Atom PDF