<i18n dev> RFR: 8324491: Keyboard layout did not keep it state if it was changed when dialog is active

Dmitry Markov dmarkov at openjdk.org
Wed Nov 27 12:52:47 UTC 2024


If AWT/Swing app displays several windows and an user changes the keyboard layout and then closes the focused window, the app does not keep the keyboard layout changes.

It is necessary to sync currentLocale and Windows keyboard layout values in `WInputMethod` class before component activation.

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

Commit messages:
 - 8324491: Keyboard layout did not keep it state if it was changed when dialog is active

Changes: https://git.openjdk.org/jdk/pull/22411/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22411&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8324491
  Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/22411.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22411/head:pull/22411

PR: https://git.openjdk.org/jdk/pull/22411


More information about the i18n-dev mailing list