|
Bugzilla – Full Text Bug Listing |
| Summary: | Event ToolStripDropDownItem.DropDownOpening event doesn't get fired | ||
|---|---|---|---|
| Product: | [Mono] Mono: Class Libraries | Reporter: | Georg Wächter <georgwaechter> |
| Component: | Windows.Forms | Assignee: | Jonathan Pobst <jpobst> |
| Status: | RESOLVED FIXED | QA Contact: | Mono Bugs <mono-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aypetrov |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | All | ||
| Whiteboard: | ToolStrip | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Test case (Vs 2005 project) | ||
Fixed in r112552. Thanks for the report! 2008-09-08 Jonathan Pobst <monkey@jpobst.com> * ToolStrip.cs: Ensure MouseDown gets called for MenuStrip items. * ToolStripDropDownItem.cs: Don't fire events and such again if ShowDropDown is called on an already dropped down item. * ToolStripMenuItem.cs: Call ShowDropDown even if there aren't any subitems, the user may add some in the DropDownOpening event. [Fixes bug #417877] *** Bug 438772 has been marked as a duplicate of this bug. *** |
Created attachment 233750 [details] Test case (Vs 2005 project) Description of Problem: The event DropDownOpening is not raised. My Scenario: I have a menustrip containing only the root menu items. As soon as the user clicks on the menu item (the event should be called now), my code creates the sub-menu items ... Additional Information: - i'm using Mono 2.0 preview 1 on Windows XP SP 2, but i tested this with Ubuntu and Mac OSX too ... same results I attached a small test case.