[Mono-bugs] [Bug 80901][Cos] New - Menu is drawn inconsistently

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 19 16:04:54 EST 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 georgegiolfan at yahoo.com.


--- shadow/80901	2007-02-19 16:04:54.000000000 -0500
+++ shadow/80901.tmp.7194	2007-02-19 16:04:54.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 80901
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Priority: Cosmetic
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Menu is drawn inconsistently
+Description of Problem:
+Sometimes a menu is drawn with a 3D border.
+Steps to reproduce the problem:
+1. Compile and run the following program.
+using System;
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        Menu = new MainMenu(new MenuItem[] { 
+         new MenuItem("Test", new MenuItem[] { 
+          new MenuItem("Menu item with subitems", new MenuItem[] { 
+           new MenuItem("Subitem") 
+          }),
+          new MenuItem("Another menu item")
+         })
+        });
+    }
+2. Click "Test".
+3. Move the mouse cursor over "Menu item with subitems".
+4. Move the mouse cursor over "Another menu item".
+5. See how the "Test" menu is rendered.
+6. Click "Test" twice.
+7. Move the mouse cursor over "Another menu item" without it passing over 
+"Menu item with subitems".
+8. See how the "Test" menu is rendered.
+Actual Results:
+The first time the "Test" menu is displayed with a 3D border, the second 
+time it is not.
+Expected Results:
+Menus should never have borders like this, or at least the borders should 
+always look the same.
+How often does this happen? 
+Always (on the SVN version).

More information about the mono-bugs mailing list