Integrated: 8356652: Input field ignores custom input source characters
Martin Fox
mfox at openjdk.org
Mon Jun 23 14:12:37 UTC 2025
On Wed, 14 May 2025 15:31:46 GMT, Martin Fox <mfox at openjdk.org> wrote:
> Under the hood the Keyman input method appears as a US English keyboard layout. The characters attached to an NSEvent are always US English Roman even if the selected Keyman layout is, say, Hebrew or Dvorak. Keyman sends the correct Hebrew or Dvorak character to insertText:replacementRange: instead.
>
> This PR special-cases the Keyman layout, detecting it using the same method that AWT does. When Keyman is active Glass records the insertText: character and uses that when sending out KeyEvents.
This pull request has now been integrated.
Changeset: d4cb730d
Author: Martin Fox <mfox at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/d4cb730d01998f1ab0cdc6ed07b0289c0b59d14f
Stats: 64 lines in 4 files changed: 57 ins; 2 del; 5 mod
8356652: Input field ignores custom input source characters
Reviewed-by: kizune, angorya, srl
-------------
PR: https://git.openjdk.org/jfx/pull/1805
More information about the openjfx-dev
mailing list