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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78376 --- shadow/78376 2006-05-11 16:41:22.000000000 -0400 +++ shadow/78376.tmp.334 2006-05-11 16:41:22.000000000 -0400 @@ -0,0 +1,99 @@ +Bug#: 78376 +Product: Mono: Class Libraries +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: TreeView: Scrolling with a (vertical/horizontal)ScrollBar throws a System.ArgumentOutOfRangeException immediatly + +Run the swf-treeview sample in /trunk/winforms/treeview. + +Try to scroll the treeview with one of the scrollbars and you get a +System.ArgumentOutOfRangeException immediatly. + +Unhandled Exception: System.ArgumentOutOfRangeException: Index is less than +0 or more than or equal to the list count. +Parameter name: index +0 +in [0x00032] (at +/home/alex/develop/mcs/class/corlib/System.Collections/ArrayList.cs:2643) +System.Collections.ArrayList:get_Item (Int32 index) +in [0x00007] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Hwnd.cs:403) +System.Windows.Forms.Hwnd:get_Invalid () +in [0x00008] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3831) +System.Windows.Forms.XplatUIX11:ScrollWindow (IntPtr handle, Rectangle +area, Int32 XAmount, Int32 YAmount, Boolean with_children) +in [0x0000b] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:659) +System.Windows.Forms.XplatUI:ScrollWindow (IntPtr handle, Rectangle +rectangle, Int32 XAmount, Int32 YAmount, Boolean with_children) +in [0x000d2] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs:1345) +System.Windows.Forms.TreeView:SetVScrollPos (Int32 pos, +System.Windows.Forms.TreeNode new_top) +in [0x0000d] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs:1311) +System.Windows.Forms.TreeView:VScrollBarValueChanged (System.Object sender, +System.EventArgs e) +in (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) +in [0x000df] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs:1081) +System.Windows.Forms.ScrollBar:UpdatePos (Int32 newPos, Boolean +update_thumbpos) +in [0x001e3] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs:1123) +System.Windows.Forms.ScrollBar:UpdateThumbPos (Int32 pixel, Boolean +update_value) +in [0x001d4] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs:749) +System.Windows.Forms.ScrollBar:OnMouseMoveSB (System.Object sender, +System.Windows.Forms.MouseEventArgs e) +in (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_MouseEventArgs +(object,System.Windows.Forms.MouseEventArgs) +in [0x00013] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4319) +System.Windows.Forms.Control:OnMouseMove +(System.Windows.Forms.MouseEventArgs e) +in [0x007ec] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3981) +System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message m) +in [0x00002] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs:513) +System.Windows.Forms.ScrollBar:WndProc (System.Windows.Forms.Message m) +in [0x00007] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:160) +System.Windows.Forms.Control+ControlNativeWindow:WndProc +(System.Windows.Forms.Message m) +in [0x00056] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:146) +System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg msg, IntPtr +wParam, IntPtr lParam) +in [0x0001c] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2631) +System.Windows.Forms.XplatUIX11:DispatchMessage (System.Windows.Forms.MSG msg) +in [0x00006] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:414) +System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG msg) +in [0x00248] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:392) +System.Windows.Forms.Application:RunLoop (Boolean Modal, +System.Windows.Forms.ApplicationContext context) +in [0x00007] (at +/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:288) +System.Windows.Forms.Application:Run (System.Windows.Forms.Form mainForm) +in [0x00005] (at /home/alex/develop/winforms/treeview/swf-treeview.cs:78) +TreeViewTest:Main () _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
