https://bugzilla.novell.com/show_bug.cgi?id=372845
Summary: MenuItem not removed from menu when Disposed
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Third Party Developer/Partner
Created an attachment (id=203273)
--> (https://bugzilla.novell.com/attachment.cgi?id=203273)
Code to reproduce the bug
calling Dispose() on a MenuItem doesn't remove it from the menu
compile the attatched file thus:
mcs -r:System.Windows.Forms,System.Drawing Form1.cs
selecting the Menu Item "Dispose" will pop up a MessageBox
pressing the button marked "Dispose" calls Dispose() on that MenuItem
running on .Net, the MenuItem disappears leaving just a separator
running on Mono (Windows and Linux) the MenuItem remains and still pops up the
MessageBox
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs