-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0, 5.0
-
b45
-
x86
-
windows_xp
-
Verified
I am having a frame with a menu and a button. Menu has a menuitem with a shortcut (CTRL + SPACE). When the focus is in button, I am pressing CTRL + SPACE. When I do this, both the button as well as the menu item triggers the action event on win_xp. This is incorrect. When pressing ctrl + space, only the menu item should trigger the action event. This is how it works on solaris / linux with Motif as well as XToolkits. It does not make sense to make menuitem as well as button trigger action event for a menu shortcut. Moreover, the button does not look pressed visually in this case.
This is reproducible since 1.4 on Win-XP. I have attached a sample test. Execute the test. Make sure focus is on the button. Press 'CTRL + SPACE'. If you see 2 action events being triggered in the console, the bug is reproduced.
###@###.### 10/19/04 13:47 GMT
This is reproducible since 1.4 on Win-XP. I have attached a sample test. Execute the test. Make sure focus is on the button. Press 'CTRL + SPACE'. If you see 2 action events being triggered in the console, the bug is reproduced.
###@###.### 10/19/04 13:47 GMT
- relates to
-
JDK-6367006 REGRESSION: Beep when focus in TextField and press Enter key
-
- Resolved
-
-
JDK-5087251 AWT Button triggers ActionEvent even though all the key events are retargetted
-
- Closed
-