[Mono-bugs] [Bug 378109] New: MenuStrip - Inserting ToolStripItems from one Items collection to another behaves incorrectly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 8 15:22:04 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=378109


           Summary: MenuStrip - Inserting ToolStripItems from one Items
                    collection to another behaves incorrectly
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jfoster at capsher.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer


Created an attachment (id=206872)
 --> (https://bugzilla.novell.com/attachment.cgi?id=206872)
Form1 CS file with menu strip demonstrating the error

In Microsoft's implementation, adding an item from one
ToolStripMenuItem.DropDownItems collection to another removes that item from
the former collection and adds it to the latter.  In Mono, however, the former
collection retains the item and the latter collection gets a blank, new item. 
In the test case provided, the Source Menu contains three clickable menu items,
and the Target Menu is empty.  When the Perform Test button is clicked, each
item in mnuSource.DropDownItems is inserted into mnuTarget.DropDownItems. 
(Note that this also occurs with the MenuStrip.Items collection as well)


-- 
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.


More information about the mono-bugs mailing list