<AWT Dev> <AWT dev> Review request for JDK-7156316: [macosx] Ctrl+Space does generate Unknown keychar
manajit.halder at oracle.com
Mon Jun 27 17:57:44 UTC 2016
Kindly review the fix for JDK9.
[macosx] Ctrl+Space does generate Unknown keychar
SPACK key value was received as “ “ in function handleKeyEvent and that was correct value, but while sending the value as a character to function nsToJavaChar it was getting passed as 0. The function nsToJavaChar was returning 0 as unichar character for SPACE key as there was no code to handle the situation.
An extra parameter was added in handleKeyEvent function indicating SPACE key and was passed to nsToJavaChar method to handle it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev