[jdk21u-dev] RFR: 8315701: [macos] Regression: KeyEvent has different keycode on different keyboard layouts

Goetz Lindenmaier goetz at openjdk.org
Tue Oct 29 09:27:59 UTC 2024


I would like to backport this to fix the issue in 21. 

I ran the test. I can not pass it, but I see similar errors in 17, 21 and head.



     17 21   head
(1) yes yes  yes
(2) no  no   no  (Ctrl+Shift+7) or (Ctrl+7)?  Shift+7 prints '.'
(3) yes yes  yes
(4) yes yes  yes
(5) no  no   no  Alt == Option
(b) no  yes  yes Alt == Option


So I think this works as well as in head.

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

Commit messages:
 - Backport a3eb6640773620331692da40356522ff618c3c44

Changes: https://git.openjdk.org/jdk21u-dev/pull/1104/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1104&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8315701
  Stats: 434 lines in 7 files changed: 91 ins; 264 del; 79 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1104.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1104/head:pull/1104

PR: https://git.openjdk.org/jdk21u-dev/pull/1104


More information about the jdk-updates-dev mailing list