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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81728 --- shadow/81728 2007-05-24 12:30:24.000000000 -0400 +++ shadow/81728.tmp.4156 2007-05-24 12:30:24.000000000 -0400 @@ -0,0 +1,46 @@ +Bug#: 81728 +Product: Mono: Class Libraries +Version: 1.2 +OS: GNU/Linux [Other] +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [X11] Releasing Alt after a mnemonic should generate WM_KEYUP + +If you press and release the Alt (Menu) key, it should produce a +WM_SYSKEYDOWN followed by a WM_SYSKEYUP: + +msg=0x104 (WM_SYSKEYDOWN) hwnd=0x3510dc wparam=0x12 lparam=0x20380001 +result=0x0 +msg=0x105 (WM_SYSKEYUP) hwnd=0x3510dc wparam=0x12 lparam=0xc0380001 result=0x0 + +However, if you press the Alt key, press another key (like F), and then +release the Alt key, you should get a WM_KEYUP instead of a WM_SYSKEYUP for +the Alt key: + +(Alt pressed) +msg=0x104 (WM_SYSKEYDOWN) hwnd=0x3510dc wparam=0x46 lparam=0x20210001 +result=0x0 + +(F pressed) +msg=0x106 (WM_SYSCHAR) hwnd=0x3510dc wparam=0x66 lparam=0x20210001 result=0x0 + +(F released) +msg=0x105 (WM_SYSKEYUP) hwnd=0x3510dc wparam=0x46 lparam=0xe0210001 result=0x0 + +(Alt released) +msg=0x101 (WM_KEYUP) hwnd=0x3510dc wparam=0x12 lparam=0xc0380001 result=0x0 + +X11 currently sends a WM_SYSKEYUP instead of WM_KEYUP for the last case. +This is needed by Menus because Alt, F is handled differently that Alt+F. + +Form that prints out just these messages is attached. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
