Community
Participate
Working Groups
Created attachment 281856 [details] Example to reproduce When a submenu is disposed, it remains visible after it is disposed. That is, if the menu item is selected again, the menu is shown. It is expected that the menu is gone after dispose. In the attached example, click 'Dispose SubMenu' and reopen the menu. Disposing the containing MenuItem does remove the menu. Calling 'if (cascade != null) cascade.setMenu (null, false);' in Menu#releaseParent() (as GTK does) removes the menu. Though a similar call exists in Menu#destroyWidget(). Apparently this does not do the job correctly.