[Mono-winforms-list] Patch for bugs 76857 and 76788

Alexander Olk xenomorph2 at onlinehome.de
Mon Jan 9 08:05:06 EST 2006


Am Sonntag, den 08.01.2006, 11:35 -0500 schrieb Jonathan S. Chambers:
> Someone please approve (and close bugs if acceptable).

Jonathan, your patch broke ComboBox.

When I press the combobox button in an empty combobox I get:

Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out
of range.
Parameter name: GetItemRectangle index out of range.
in <0x001a0> System.Windows.Forms.ComboBox
+ComboListBox:GetItemDisplayRectangle (Int32 index, Int32
first_displayble)
in <0x00065> System.Windows.Forms.ComboBox+ComboListBox:LastVisibleItem
()
in <0x00012> System.Windows.Forms.ComboBox
+ComboListBox:UpdateLastVisibleItem ()
in <0x00016> System.Windows.Forms.ComboBox+ComboListBox:SetTopItem
(Int32 item)
in <0x00071> System.Windows.Forms.ComboBox+ComboListBox:ShowWindow ()
in (wrapper remoting-invoke-with-check) ComboListBox:ShowWindow ()
in <0x000de> System.Windows.Forms.ComboBox:DropDownListBox ()
in <0x000c4> System.Windows.Forms.ComboBox:OnMouseDownCB (System.Object
sender, System.Windows.Forms.MouseEventArgs e)

and so on...

You can test it with a file dialog. Press the button in the Filename
combobox.

Cheers
  Alexander



More information about the Mono-winforms-list mailing list