https://bugzilla.novell.com/show_bug.cgi?id=664695
https://bugzilla.novell.com/show_bug.cgi?id=664695#c0 Summary: [PATCH] Calling Dispose on ToolStrip emit events. Doesn't on .NET Classification: Mono Product: Mono: Class Libraries Version: 2.8.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=408483) --> (http://bugzilla.novell.com/attachment.cgi?id=408483) Test case showing events are emitted from ToolStrip while disposing. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5 Events must be disposed before Items are removed in ToolStrip Dispose. (or event handler can do things like adding items) See attached test case. I suspect lots of controls have this issue, may be worth writing lots of unit tests, and fixing all these issues in one go. If I get some time I will attempt to do this. Reproducible: Always Steps to Reproduce: 1. Compile and run test case. Actual Results: Removing Removing Removing Expected Results: Should not display anything. -- 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
