<i18n dev> RFR: 8324491: Keyboard layout did not keep it state if it was changed when dialog is active
Alexey Ivanov
aivanov at openjdk.org
Tue Dec 3 16:42:43 UTC 2024
On Wed, 27 Nov 2024 12:47:29 GMT, Dmitry Markov <dmarkov at openjdk.org> wrote:
> 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.
Looks good to me.
The keyboard layout is preserved after closing the dialog. I used SwingSet2 and **Show Input Dialog** to test the changes.
-------------
Marked as reviewed by aivanov (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22411#pullrequestreview-2476237306
More information about the i18n-dev
mailing list