[Mono-bugs] [Bug 79588][Nor] New - ComboBox: ArgumentOutOfRangeException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 5 16:51:59 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by alex.olk at googlemail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79588

--- shadow/79588	2006-10-05 16:51:59.000000000 -0400
+++ shadow/79588.tmp.14814	2006-10-05 16:51:59.000000000 -0400
@@ -0,0 +1,175 @@
+Bug#: 79588
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ComboBox: ArgumentOutOfRangeException
+
+(Wanted to file that for some time now but always forgot it)
+
+Start swf-filedialog sample. Use the top (Search in) combobox to change to
+an other directory. Select an item somewhere down in the list and, bang,
+ArgumentOutOfRangeException.
+
+Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of
+range.
+Parameter name: GetItemRectangle index out of range.
+  at System.Windows.Forms.ComboBox+ComboListBox.GetItemDisplayRectangle
+(Int32 index, Int32 top_index) [0x000b7] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:1741
+
+  at System.Windows.Forms.ComboBox+ComboListBox.set_HighlightedIndex (Int32
+value) [0x00019] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:1715
+
+  at (wrapper remoting-invoke-with-check) ComboListBox:set_HighlightedIndex
+(int)
+  at System.Windows.Forms.ComboBox.set_SelectedIndex (Int32 value)
+[0x000a5] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:406
+
+  at System.Windows.Forms.ComboBox.set_SelectedItem (System.Object value)
+[0x0002c] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:420
+
+  at System.Windows.Forms.DirComboBox.CreateComboList () [0x00250] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs:1652
+
+  at System.Windows.Forms.DirComboBox.set_CurrentFolder (System.String
+value) [0x0000e] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs:1580
+
+  at System.Windows.Forms.MWFFileView.ChangeDirectory (System.Object
+sender, System.String folder) [0x0005a] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs:2201
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.MWFFileView:ChangeDirectory (object,string)
+  at System.Windows.Forms.FileDialog.OnDirectoryChangedDirComboBox
+(System.Object sender, System.EventArgs e) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs:987
+
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.DirComboBox.OnSelectedIndexChanged
+(System.EventArgs e) [0x0004a] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs:1761
+
+  at System.Windows.Forms.ComboBox.set_SelectedIndex (Int32 value)
+[0x00071] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:400
+
+  at System.Windows.Forms.ComboBox+ComboListBox.OnMouseUp
+(System.Windows.Forms.MouseEventArgs e) [0x00052] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:1825
+
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m)
+[0x002eb] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4034
+
+  at System.Windows.Forms.ComboBox+ComboListBox.WndProc
+(System.Windows.Forms.Message m) [0x0002a] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:1899
+
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message m) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:166
+
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:159
+
+  at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2826
+
+  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG
+msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:428
+
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x0025d] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:530
+
+  at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32)
+[0x000c7] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1257
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window)
+  at System.Windows.Forms.CommonDialog.ShowDialog (IWin32Window ownerWin32)
+[0x00012] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CommonDialog.cs:110
+
+  at System.Windows.Forms.CommonDialog.ShowDialog () [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CommonDialog.cs:102
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.CommonDialog:ShowDialog ()
+  at testwin.MainForm.OnClick (System.Object sender, System.EventArgs e)
+[0x0001f] in /home/alex/develop/winforms/filedialog/swf-filedialog.cs:40 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x0000b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4324
+
+  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x0002a] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:95
+
+  at System.Windows.Forms.ButtonBase.OnMouseUp
+(System.Windows.Forms.MouseEventArgs mevent) [0x000a1] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:471
+
+  at System.Windows.Forms.Button.OnMouseUp
+(System.Windows.Forms.MouseEventArgs e) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:99
+
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m)
+[0x002eb] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4034
+
+  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message
+m) [0x00055] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:526
+
+  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message m)
+[0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:112
+
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message m) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:166
+
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:159
+
+  at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2826
+
+  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG
+msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:428
+
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x0025d] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:530
+
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:421
+
+  at testwin.MainForm.Main (System.String[] args) [0x00000] in
+/home/alex/develop/winforms/filedialog/swf-filedialog.cs:31


More information about the mono-bugs mailing list