[Mono-bugs] [Bug 82577][Nor] Changed - TreeView: Endless loop calling CancelEdit and BeginEdit

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 24 17:55:04 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 monkey at jpobst.com.

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

--- shadow/82577	2007-08-24 17:54:41.000000000 -0400
+++ shadow/82577.tmp.22988	2007-08-24 17:55:04.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 82577
 Product: Mono: Class Libraries
 Version: 1.2
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: monkey at jpobst.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
@@ -37,6 +37,20 @@
 2. follow the on-screen instructions.
 
 ------- Additional Comments From gert.driesen at pandora.be  2007-08-24 13:26 -------
 Created an attachment (id=19884)
 Repro
 
+
+------- Additional Comments From monkey at jpobst.com  2007-08-24 17:55 -------
+Fixed in r84819.  Thanks!
+
+2007-08-24  Jonathan Pobst  <monkey at jpobst.com>
+
+	* TreeView.cs: Create a CancelEdit method.  Clone the edit_args in
+EndEdit
+	before calling AfterLabelEdit.  If the user calls BeginEdit in that
+event,
+	it resets the edit_args.
+	* TreeNode.cs: Call CancelEdit if the user passes cancel = true to
+EndEdit.
+	[Fixes bug #82577]


More information about the mono-bugs mailing list