[Mono-bugs] [Bug 82598][Min] Changed - TreeView: Left-arrow key to collapse leaf node ignored often

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 6 10:40:29 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 andyhume32 at yahoo.co.uk.


--- shadow/82598	2007-09-03 13:08:16.000000000 -0400
+++ shadow/82598.tmp.5583	2007-09-06 10:40:29.000000000 -0400
@@ -46,6 +46,21 @@
 I initially discovered this in FolderBrowserDialog where the problem was 
 only reproducable in some cases, however with the code from bug #81423 
 repro #2 it seems to always occur.  In FolderBrowserDialog one way of 
 enhancing the chances of hitting it, it to right-arrow expand a leaf node
+------- Additional Comments From andyhume32 at yahoo.co.uk  2007-09-06 10:40 -------
+This does not occur in MSFT's FolderBrowserDialog, but it *does* 
+occur in their TreeView impl.  (Presumably their FolderBrowserDialog 
+displays the respective Win32 dialog and is not .NET code using 
+So do we fix the bug/feature in TreeView (a leaf node can be 
+IsExpanded)?  As a heavy keyboard user not being able  to close the 
+tree using the left-arrow key is a big pain.  However, perhaps 
+someone uses this odd behaviour as a feature -- expand a leaf node
+(!) then when you add children to it they appear.
+The other fix possibility is to have the left-arrow handing code 
+jump to the parent if either collapsed *or* has zero children.

More information about the mono-bugs mailing list