-
Bug
-
Resolution: Unresolved
-
P4
-
8u121
-
x86
-
linux
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Raspbian (Debian Jessie)
A DESCRIPTION OF THE PROBLEM :
com.sun.glass.ui.monocle.LinuxKeyProcessor.getVirtualKeyCode() method is missing mapping for keys LinuxInput.KEY_KP0 to LinuxInput.KEY_KP9
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Input any numeric key on numpad while running JavaFX application with Monocle
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Numeric key event is received
ACTUAL -
No key event is received
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Add following code to com.sun.glass.ui.monocle.LinuxKeyProcessor.getVirtualKeyCode() method
case LinuxInput.KEY_KP0: return KeyEvent.VK_NUMPAD0;
case LinuxInput.KEY_KP1: return KeyEvent.VK_NUMPAD1;
case LinuxInput.KEY_KP2: return KeyEvent.VK_NUMPAD2;
case LinuxInput.KEY_KP3: return KeyEvent.VK_NUMPAD3;
case LinuxInput.KEY_KP4: return KeyEvent.VK_NUMPAD4;
case LinuxInput.KEY_KP5: return KeyEvent.VK_NUMPAD5;
case LinuxInput.KEY_KP6: return KeyEvent.VK_NUMPAD6;
case LinuxInput.KEY_KP7: return KeyEvent.VK_NUMPAD7;
case LinuxInput.KEY_KP8: return KeyEvent.VK_NUMPAD8;
case LinuxInput.KEY_KP9: return KeyEvent.VK_NUMPAD9;
ADDITIONAL OS VERSION INFORMATION :
Raspbian (Debian Jessie)
A DESCRIPTION OF THE PROBLEM :
com.sun.glass.ui.monocle.LinuxKeyProcessor.getVirtualKeyCode() method is missing mapping for keys LinuxInput.KEY_KP0 to LinuxInput.KEY_KP9
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Input any numeric key on numpad while running JavaFX application with Monocle
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Numeric key event is received
ACTUAL -
No key event is received
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Add following code to com.sun.glass.ui.monocle.LinuxKeyProcessor.getVirtualKeyCode() method
case LinuxInput.KEY_KP0: return KeyEvent.VK_NUMPAD0;
case LinuxInput.KEY_KP1: return KeyEvent.VK_NUMPAD1;
case LinuxInput.KEY_KP2: return KeyEvent.VK_NUMPAD2;
case LinuxInput.KEY_KP3: return KeyEvent.VK_NUMPAD3;
case LinuxInput.KEY_KP4: return KeyEvent.VK_NUMPAD4;
case LinuxInput.KEY_KP5: return KeyEvent.VK_NUMPAD5;
case LinuxInput.KEY_KP6: return KeyEvent.VK_NUMPAD6;
case LinuxInput.KEY_KP7: return KeyEvent.VK_NUMPAD7;
case LinuxInput.KEY_KP8: return KeyEvent.VK_NUMPAD8;
case LinuxInput.KEY_KP9: return KeyEvent.VK_NUMPAD9;