[Mono-bugs] [Bug 81750][Min] Changed - TreeView: Adding same TreeNode twice in ctor blocks application
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jul 10 11:49:02 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 jackson at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81750
--- shadow/81750 2007-07-06 11:58:43.000000000 -0400
+++ shadow/81750.tmp.4870 2007-07-10 11:49:02.000000000 -0400
@@ -3,13 +3,13 @@
Version: 1.2
OS: All
OS Details:
Status: NEW
Resolution:
Severity: Unknown
-Priority: Normal
+Priority: Minor
Component: Windows.Forms
AssignedTo: jackson at ximian.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
@@ -22,6 +22,22 @@
To reproduce, compile and run the attached code snippet.
------- Additional Comments From gert.driesen at pandora.be 2007-05-28 03:02 -------
Created an attachment (id=19334)
Repro
+
+------- Additional Comments From jackson at ximian.com 2007-07-10 11:49 -------
+I am going to downgrade this bug, since doing this on Windows
+basically leaves your TreeView in a totally broken state. For
+instance, add:
+
+AfterSelect += delegate (object sender, TreeViewEventArgs e) {
+ Console.WriteLine (_treeView.SelectedNode.IsSelected);
+};
+
+and try selecting the two different node0s. Also FirstNode/LastNode
+don't really work properly.
+
+I think the ideal fix here is to just not allow the same node to be
+added twice.
+
More information about the mono-bugs
mailing list