JDK-8150709 : Mac OSX and German Keyboard Layout (Y/Z)
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: 8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-02-26
  • Updated: 2023-12-21
  • Resolved: 2023-05-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx21 b17Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Description
The KeyCode reported by JavaFX on OS-X with a
german keyboard is used (where z and y are interchanged) is wrong.

If you press a Z you get as the KeyCode.Y and for Y you get KeyCode.Z -
this Y/Z problem. I don't think that I as a java-dev need to deal with
that and if you look at other toolkits (swing, swt) they handle this
transparently for me!

I've attached you a javafx and swing application and you'll notice that
swing reports always the correct keycode (no matter if my keyboard
layout is english or german) and javafx is wrong on german keyboards.
Comments
Changeset: 9cca5f88 Author: Martin Fox <martin@nlazyt.com> Committer: Andy Goryachev <angorya@openjdk.org> Date: 2023-05-09 15:12:01 +0000 URL: https://git.openjdk.org/jfx/commit/9cca5f88d8039d808b0ccf403d66518f9d592c46
09-05-2023

If you're willing to provide a PR, we can help answer questions and test it.
29-01-2021

Is there a chance to get someone to look into that? In the last 2 days I had this issue reported to me as bugs in the efxclipse framework. With some help I think I could try to take try and fix the provide a PR to get this issue fixed
29-01-2021

Can we get this at least in 10?
07-08-2017

9-client-defer-candidate: There is no resource to fix it in jdk9.
15-08-2016

Morris is working a similar issue on the French keyboad
04-03-2016