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


           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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@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
list.

at System.Collections.SortedList.PutImpl (object,object,bool) [0x00109] in
SortedList.cs:542
at System.Collections.SortedList.Add (object,object) [0x00000] in
SortedList.cs:246
at System.Windows.Forms.GridItemCollection.Add (System.Windows.Forms.GridItem)
[0x00000] in GridItemCollection.cs:54
at System.Windows.Forms.PropertyGrid.PopulateRootGridItems
(System.Windows.Forms.PropertyGridInternal.GridEntry,object[],string[])
[0x0011b] in PropertyGrid.cs:1555
at System.Windows.Forms.PropertyGrid.PopulateGrid (object[]) [0x00016] in
PropertyGrid.cs:1433
at System.Windows.Forms.PropertyGrid.set_SelectedObjects (object[]) [0x000d2]
in PropertyGrid.cs:685
at System.Windows.Forms.PropertyGrid.set_SelectedObject (object) [0x00017] in
PropertyGrid.cs:650
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
PropGridFormControls.cs:81
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs)
[0x00023] in ComboBox.cs:1144
…chopped...
]]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to