[Mono-bugs] [Bug 78846][Nor] New - TreeView: NRE in TreeView.EndEdit

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 13 11:55: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 xenomorph2 at onlinehome.de.


--- 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 Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: jackson at ximian.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+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
+  at System.Windows.Forms.TreeView.EditTextBoxKeyDown (System.Object
+sender, System.Windows.Forms.KeyEventArgs e) [0x0000d] in
+  at (wrapper delegate-invoke)
+  at System.Windows.Forms.Control.OnKeyUp
+(System.Windows.Forms.KeyEventArgs e) [0x0000b] in
+  at System.Windows.Forms.Control.ProcessKeyEventArgs
+(System.Windows.Forms.Message msg) [0x0006e] in

More information about the mono-bugs mailing list