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=78846

--- shadow/78846        2006-07-13 11:55:48.000000000 -0400
+++ shadow/78846.tmp.19430      2006-07-13 11:55:48.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 78846
+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: NRE in TreeView.EndEdit
+
+After editing a treeview label/text EndEdit causes a NRE (see NRE below).
+
+If you select an other node during edit, edit doesn't get canceled instead
+the new node gets selected and the "edit node" is still in edit mode (wow,
+what a sentence :-)
+
+Btw, TreeNode.EnsureVisible() doesn't work either.
+
+Attached is a test case that works fine on windows.
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at System.Windows.Forms.TreeView.EndEdit () [0x0000c] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs:1183
+  at System.Windows.Forms.TreeView.EditTextBoxKeyDown (System.Object
+sender, System.Windows.Forms.KeyEventArgs e) [0x0000d] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs:1172
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_KeyEventArgs
+(object,System.Windows.Forms.KeyEventArgs)
+  at System.Windows.Forms.Control.OnKeyUp
+(System.Windows.Forms.KeyEventArgs e) [0x0000b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4336
+  at System.Windows.Forms.Control.ProcessKeyEventArgs
+(System.Windows.Forms.Message msg) [0x0006e] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3360
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to