http://bugzilla.novell.com/show_bug.cgi?id=582703
http://bugzilla.novell.com/show_bug.cgi?id=582703#c0 Summary: Pressing Command key in TextBox activates context menu but does not show it Classification: Mono Product: Mono: Class Libraries Version: 2.6.x Platform: Other OS/Version: Mac OS X 10.5 Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: mono-bugs@lists.ximian.com ReportedBy: d...@acm.org QAContact: mono-bugs@lists.ximian.com Found By: --- Blocker: --- Created an attachment (id=344458) --> (http://bugzilla.novell.com/attachment.cgi?id=344458) Test case This was discovered by someone on a mac trying to paste text into a TextBox, and using Command-V. To see the bug, run the test case on a mac, and then: Give the TextBox focus enter some chars to see the bug more easily (not needed to trigger the issue) press Command-v (a letter v is entered into the TextBox) press Up-arrow press Return The TextBox now only contains a blank line, with the cursor at the beginning of the next line. The problem is that the Command key is triggering the context menu, Up is choosing 'Select All', and Return is triggering the menu action, ie replacing all text. The bug has two parts, in that a) the context menu isn't being displayed b) the keystrokes are both activating the menu, and being passed through to the TextBox document This is probably not mac-specific, except that the key for triggering the menu is more prominent. Command is identifying itself (in Control.cs DebugMessages output) as "Menu, Alt", and Control:WmSysKeyUp is treating it as a menu activation. When Return is pressed, the 'Select All' menu item is triggered, and the selection replace is also carried out when the keypress reaches the TextBox. -- Configure bugmail: http://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 - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs