[Mono-bugs] [Bug 81652][Min] Changed - Menu: Alt-F4 should not be handled

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Aug 25 18:22:39 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 georgegiolfan at yahoo.com.


--- shadow/81652	2007-05-18 08:46:59.000000000 -0400
+++ shadow/81652.tmp.21212	2007-08-25 18:22:39.000000000 -0400
@@ -27,6 +27,19 @@
 ------- Additional Comments From gert.driesen at pandora.be  2007-05-17 09:46 -------
 I can only reproduce this on Windows, do we handle keys differently 
 on Linux ?
+------- Additional Comments From georgegiolfan at yahoo.com  2007-08-25 18:22 -------
+It seems that pressing Alt on a MWF form that has a menu currently 
+causes Capture to be set to true (from Form.ActiveTracker). This 
+should not happen. (This is probably the reason it happens only on 
+Windows. Setting mouse capture on Windows disables Alt-F4.)
+Also, ProcessCmdKey should always return false when the user presses 
+Anyway, the ActiveMenu.ProcessCmdKey call should be moved from 
+Form.ProcessCmdKey because menus keys should work even if the user 
+overrides it (and does not call the base implementation).
+The following patch only shows why this bug happens. I am not sure 
+what the code I changed is supposed to do.

More information about the mono-bugs mailing list