[Mono-bugs] [Bug 80284][Cos] Changed - TreeView: Last node not visible when using ExpandAll during Load

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Dec 17 13:05:41 EST 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 gert.driesen at pandora.be.

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

--- shadow/80284	2006-12-17 10:45:46.000000000 -0500
+++ shadow/80284.tmp.14827	2006-12-17 13:05:41.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: GNU/Linux [Other]
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Cosmetic
 Component: Windows.Forms
 AssignedTo: toshok at ximian.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -25,6 +25,25 @@
 1. compile and run the attached code snippet.
 
 ------- Additional Comments From gert.driesen at pandora.be  2006-12-17 10:45 -------
 Created an attachment (id=18315)
 Repro
 
+
+------- Additional Comments From gert.driesen at pandora.be  2006-12-17 13:05 -------
+I've submitted some unit tests for this and a few other TreeView 
+issues to TreeViewTest.cs.
+
+* On Mono, TreeView.ExpandAll does not set the expand bit for a node 
+if the Node is a flat node (does not contain child nodes).
+
+* TreeNode.IsVisible returns wrong values on Mono.
+
+* ExpandAll should bring the last (child) node into view only if the 
+TreeView contains more than one level of nodes.
+
+* When calling Expand/ExpandAll on a node if the TreeView handle is 
+not yet created, the expand bit should be set and the node should be 
+expanded when the TreeView handle is created.
+
+It started off as a simple bug, but it seems more issues are 
+involved. Just let me know if you need separate bug reports.


More information about the mono-bugs mailing list