The following bug fix
5044469: REG: Disabled component gains focus and receives keyevents on win32
has suppressed the space bar events when focus is in a disabled button. In such a case, if there is a menu with a shortcut 'CTRL + SPACE' or 'CTRL + SHIFT + SPACE', such shortcuts will not be honored when pressing those key combinations since space events are totally suppressed. This is incorrect. Menu shortcuts should work regardless of where the focus is.
This is seen only on Win32, only in the following PIT build:
java version "awt.pit-jcg-win-03-2004-10-15-Fri-int.mustang"
Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-jcg-win-03-2004-10-15-Fri-int.mustang)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b08, mixed mode)
This is neither reproducible on other platforms nor on previous builds.
I have attached a sample test. Execute the sample test. You would get a frame with a button. Click on the button. The button will be disabled but will continue to have focus. Press 'CTRL + SPACE' when the focus is in button. If the 'exit' menu is not executed (a message will be printed on the console if executed) the bug is reproduced.
###@###.### 10/19/04 12:53 GMT