https://bugzilla.novell.com/show_bug.cgi?id=379570
Summary: MWF fails to clean up TextBox context menu after two
right clicks
Product: Mono: Class Libraries
Version: SVN
Platform: i586
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Development
The context menu of a textbox fails to hide himself after the following
procedure and the textbox shows two or more context menus (and none of them
works after all):
1) set focus to the textbox
2) right click and show the context menu
3) right click again on the text box and show the context menu. The shown
context menu would still work.
4) (move cursor and) right click again. The previous context menu does not get
hidden.
---- pretty simple repro -----
using System;
using System.Windows.Forms;
public class TestForm : Form
{
public static void Main ()
{
Application.Run (new TestForm ());
}
public TestForm ()
{
TextBox tb = new TextBox ();
Controls.Add (tb);
}
}
--------
It ends up to prevent Application.Exit (looks like some threads still remain);
after closing the main window, the context menus still remain.
Additional note:
At 3) the context menu already loses keyboard control (even after the mouse
cursor moves in and the context menu should get activated).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs