[Mono-bugs] [Bug 82155][Nor] New - TreeView: ArgumentException on scrolling after ExpandAll

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jul 20 16:21:51 EDT 2007


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 gert.driesen at pandora.be.

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

--- shadow/82155	2007-07-20 16:21:51.000000000 -0400
+++ shadow/82155.tmp.10051	2007-07-20 16:21:51.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 82155
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TreeView: ArgumentException on scrolling after ExpandAll
+
+In TreeView, a vertical scrollbar is mistakenly displayed after invoking 
+ExpandAll during load.
+
+When clicking on the scrollbar arrows, the following exception is reported:
+
+Unhandled Exception: System.ArgumentException: '-2' is not a valid value 
+for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'
+  at System.Windows.Forms.ScrollBar.set_Value (Int32 value) [0x00000] 
+  at System.Windows.Forms.ScrollBar.SmallIncrement () [0x00000] 
+  at System.Windows.Forms.ScrollBar.OnMouseUpSB (System.Object sender, 
+System.Windows.Forms.MouseEventArgs e) [0x00000] 
+  at System.Windows.Forms.Control.OnMouseUp 
+(System.Windows.Forms.MouseEventArgs e) [0x00000] 
+  at System.Windows.Forms.Control.WmLButtonUp 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& 
+m) [0x00000] 
+  at System.Windows.Forms.ScrollBar.WndProc (System.Windows.Forms.Message& 
+m) [0x00000] 
+  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, 
+IntPtr wParam, IntPtr lParam) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.DispatchMessage 
+(System.Windows.Forms.MSG& msg) [0x00000] 
+  at System.Windows.Forms.XplatUI.DispatchMessage 
+(System.Windows.Forms.MSG& msg) [0x00000] 
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal, 
+System.Windows.Forms.ApplicationContext context) [0x00000] 
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form 
+mainForm) [0x00000] 
+  at MainForm.Main () [0x00000] 
+
+To reproduce:
+1. compile and run the attached code snippet.
+2. follow the on-screen instructions.


More information about the mono-bugs mailing list