<AWT Dev> JDK-8028617: Dvorak keyboard mapping not honored when ctrl key pressed
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Tue Dec 3 01:03:28 PST 2013
Hello,Edward.
Can you confirm that the problem can be reproduced on jdk 8?
https://jdk8.java.net/download.html
On 03.12.2013 3:43, Edward Burns wrote:
> Hello AWT dev,
>
> I have a pet issue that prevents me from using NetBeans 7.4+ on Mac OS X
> because I use the DVORAK keyboard layout [1]. Basically, when I press
> Ctrl-e to go to the end of the line, the system things I'm pressing
> Ctrl-d, and deletes a character. According to this research from Svata
> Dedic on the NetBeans team, it's a problem in
> KeyEvent.getExtendedKeyCode().
>
> Svata Dedic wrote:
>
> SD> This seems as a defect in JDK/MacOS X, specifically the method
> SD> KeyEvent.getExtendedKeyCode() fails to produce the correct key code
> SD> (returns VK_UNDEFINED).
>
> SD> The KeyEvent that arrives to the NetBeans for pressing "E" key has
> SD> the following properties on both Linux (working) and MacOS X (not
> SD> working):
>
> SD> * keyText='E'
> SD> * keyChar='.'
> SD> * keyCode=69
>
> SD> extendedKeyCode returns 46 on Linux, 0 on MacOS X.
>
> I'm attempting to build the relevant parts of OpenJDK to attempt to fix
> this myself, but I need some help getting started.
>
> Thanks,
>
> Ed
>
--
Best regards, Sergey.
More information about the awt-dev
mailing list