[Mono-bugs] [Bug 78363][Nor] New - Datagrid: crash when clicking on empty region.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 10 22:29:48 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 miguel at ximian.com.

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

--- shadow/78363	2006-05-10 22:29:48.000000000 -0400
+++ shadow/78363.tmp.11247	2006-05-10 22:29:48.000000000 -0400
@@ -0,0 +1,82 @@
+Bug#: 78363
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Datagrid: crash when clicking on empty region.
+
+As discussed with Chris today:
+
+winforms/datagrid
+
+When you run this sample, and chose the second sample, the using "Large Data"
+
+Click at the bottom (scroll to the bottom), click on the grey area, and
+then this happens:
+
+Unhandled Exception: System.ArgumentException: '-1' is not a valid value
+for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'
+in <0x00163> System.Windows.Forms.ScrollBar:set_Value (Int32 value)
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.ScrollBar:set_Value (int)
+in <0x001e9> System.Windows.Forms.DataGrid:EnsureCellVisilibility
+(DataGridCell cell)
+in <0x0007e> System.Windows.Forms.DataGrid:SetCurrentCell (DataGridCell value)
+in <0x0014b> System.Windows.Forms.DataGrid:set_CurrentCell (DataGridCell value)
+in <0x002b0> System.Windows.Forms.DataGrid:OnMouseDown
+(System.Windows.Forms.MouseEventArgs e)
+in <0x008c1> System.Windows.Forms.Control:WndProc
+(System.Windows.Forms.Message m)
+in <0x00014> System.Windows.Forms.Control+ControlNativeWindow:WndProc
+(System.Windows.Forms.Message m)
+in <0x0011e> System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg
+msg, IntPtr wParam, IntPtr lParam)
+in <0x00016> System.Windows.Forms.XplatUIX11:DispatchMessage
+(System.Windows.Forms.MSG msg)
+in <0x00015> System.Windows.Forms.XplatUI:DispatchMessage
+(System.Windows.Forms.MSG msg)
+in <0x00611> System.Windows.Forms.Application:RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context)
+in <0x001ae> System.Windows.Forms.Form:ShowDialog (IWin32Window ownerWin32)
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window)
+in <0x000ba> DatagridSamples.DataGridSamples:label2_Click (System.Object
+sender, System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x0001d> System.Windows.Forms.Control:OnClick (System.EventArgs e)
+in <0x000dd> System.Windows.Forms.Button:OnClick (System.EventArgs e)
+in <0x000f8> System.Windows.Forms.ButtonBase:OnMouseUp
+(System.Windows.Forms.MouseEventArgs mevent)
+in <0x0000d> System.Windows.Forms.Button:OnMouseUp
+(System.Windows.Forms.MouseEventArgs e)
+in <0x0076c> System.Windows.Forms.Control:WndProc
+(System.Windows.Forms.Message m)
+in <0x00060> System.Windows.Forms.ButtonBase:WndProc
+(System.Windows.Forms.Message m)
+in <0x0000d> System.Windows.Forms.Button:WndProc
+(System.Windows.Forms.Message m)
+in <0x00014> System.Windows.Forms.Control+ControlNativeWindow:WndProc
+(System.Windows.Forms.Message m)
+in <0x0011e> System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg
+msg, IntPtr wParam, IntPtr lParam)
+in <0x00016> System.Windows.Forms.XplatUIX11:DispatchMessage
+(System.Windows.Forms.MSG msg)
+in <0x00015> System.Windows.Forms.XplatUI:DispatchMessage
+(System.Windows.Forms.MSG msg)
+in <0x00611> System.Windows.Forms.Application:RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context)
+in <0x00024> System.Windows.Forms.Application:Run
+(System.Windows.Forms.Form mainForm)
+in <0x0001f> DatagridSamples.DataGridSamples:Main (System.String[] args)


More information about the mono-bugs mailing list