[Mono-bugs] [Bug 82680][Min] New - TreeView/FolderBrowserDialog: ContextMenu only opens on click *below* tree

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 3 16:33:28 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.

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

--- shadow/82680	2007-09-03 16:33:28.000000000 -0400
+++ shadow/82680.tmp.817	2007-09-03 16:33:28.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 82680
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: andyhume32 at yahoo.co.uk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TreeView/FolderBrowserDialog: ContextMenu only opens on click *below* tree
+
+The menu is not shown if the click is anywhere near a node!  "Anywhere" --
+ actually meaning at the same vertical level.  Thus 
+1. Create a TreeView and set its ContextMenu/ContextMenuStrip property to 
+a valid menu.
+Or use FolderBrowserDialog.
+2. Run.
+3. Ensure that the bottom node of the tree is in the view, and there's a 
+block of white space between it and the bottom edge of the view.
+4. Right-click on that empty area of TreeView --> see menu.
+5. Right-click on a tree node --> no menu displayed.
+6. Right-click on the white space either side of the tree nodes --> no 
+menu displayed.
+
+This is obviously wrong, and thus it doesn't really need saying that this 
+behaviour is different from MSFT: it displays the menu wherever clicked.
+
+Also on MSFT, if a individual node also has a menu set then clicking on 
+the node shows that menu in preference.


More information about the mono-bugs mailing list