-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
6
-
x86
-
windows_xp
FULL PRODUCT VERSION :
JDk 1.6
ADDITIONAL OS VERSION INFORMATION :
WIndows XP Professional
A DESCRIPTION OF THE PROBLEM :
open KeyEventDemo from the following link:
http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html
Press Numlock key, while holding the Ctrl. You'll see the Keyevent for Pause, instead of NumLock. This works correctly in Linux.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Produce the keyevent for Numlock, instead of Pause while holding down the Ctrl key and pressing NumLock.
ACTUAL -
In windows platform KeyEvent for Pause is produced instead of NumLock.
The following is produced when Ctrl + Numlock is pressed:
KEY PRESSED:
key code = 17 (Ctrl)
modifiers = 128 (Ctrl)
action key? NO
key location: left
KEY PRESSED:
key code = 19 (Pause)
modifiers = 128 (Ctrl)
action key? YES
key location: standard
KEY RELEASED:
key code = 19 (Pause)
modifiers = 128 (Ctrl)
action key? YES
key location: standard
KEY RELEASED:
key code = 17 (Ctrl)
modifiers = 0 (no modifiers)
action key? NO
key location: left
REPRODUCIBILITY :
This bug can be reproduced always.
JDk 1.6
ADDITIONAL OS VERSION INFORMATION :
WIndows XP Professional
A DESCRIPTION OF THE PROBLEM :
open KeyEventDemo from the following link:
http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html
Press Numlock key, while holding the Ctrl. You'll see the Keyevent for Pause, instead of NumLock. This works correctly in Linux.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Produce the keyevent for Numlock, instead of Pause while holding down the Ctrl key and pressing NumLock.
ACTUAL -
In windows platform KeyEvent for Pause is produced instead of NumLock.
The following is produced when Ctrl + Numlock is pressed:
KEY PRESSED:
key code = 17 (Ctrl)
modifiers = 128 (Ctrl)
action key? NO
key location: left
KEY PRESSED:
key code = 19 (Pause)
modifiers = 128 (Ctrl)
action key? YES
key location: standard
KEY RELEASED:
key code = 19 (Pause)
modifiers = 128 (Ctrl)
action key? YES
key location: standard
KEY RELEASED:
key code = 17 (Ctrl)
modifiers = 0 (no modifiers)
action key? NO
key location: left
REPRODUCIBILITY :
This bug can be reproduced always.