RFR: 8324232: KeyEvent.getCode() is null inside JFXPanel

Kevin Rushforth kcr at openjdk.org
Fri Jun 14 15:57:23 UTC 2024


On Sat, 1 Jun 2024 19:01:21 GMT, Martin Fox <mfox at openjdk.org> wrote:

>> Which key is it that causes this?  There is a ticket https://bugs.openjdk.org/browse/JDK-8090319 that suggests completing the missing key codes is also an option.
>
>> Which key is it that causes this? There is a ticket https://bugs.openjdk.org/browse/JDK-8090319 that suggests completing the missing key codes is also an option.
> 
> The original bug report was for letter keys on layouts that don't generate Latin characters like Russian or Greek. On Windows AWT handles these keys by assigning a Latin key code (so shortcuts like Ctrl-A continue to work) and separately providing an extended key code based on the Unicode value. On Mac AWT is dropping the ball by not providing a Latin key code.

@beldenfox I think this is ready for you to integrate; it is a simple enough change that a single reviewer is enough.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1470#issuecomment-2168317449


More information about the openjfx-dev mailing list