[Mono-bugs] [Bug 374334] New: PropertyGrid: ArgEx when change SelectedObject quickly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 27 07:06:16 EDT 2008


           Summary: PropertyGrid: ArgEx when change SelectedObject quickly
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: contact at i-nz.net
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Repro app from bug 362603.  Put focus on the combobox at the top of the form,
with the drop-down closed.  Now use the arrow keys to quickly move down through
all the items in the list.  After a number of changes the following exception
will occur:
Unhandled Exception: System.ArgumentException: Key 'Items' already exists in

at System.Collections.SortedList.PutImpl (object,object,bool) [0x00109] in
at System.Collections.SortedList.Add (object,object) [0x00000] in
at System.Windows.Forms.GridItemCollection.Add (System.Windows.Forms.GridItem)
[0x00000] in GridItemCollection.cs:54
at System.Windows.Forms.PropertyGrid.PopulateRootGridItems
[0x0011b] in PropertyGrid.cs:1555
at System.Windows.Forms.PropertyGrid.PopulateGrid (object[]) [0x00016] in
at System.Windows.Forms.PropertyGrid.set_SelectedObjects (object[]) [0x000d2]
in PropertyGrid.cs:685
at System.Windows.Forms.PropertyGrid.set_SelectedObject (object) [0x00017] in
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.PropertyGrid.set_SelectedObject (object) <0x00041>
at <>c__CompilerGenerated2.<RunGrid>c__3 (object,System.EventArgs) [0x00000] in
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs)
[0x00023] in ComboBox.cs:1144

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list