RFR: 8356652: Input field ignores custom input source characters [v2]

Martin Fox mfox at openjdk.org
Fri May 16 22:25:20 UTC 2025


> 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.

Martin Fox has updated the pull request incrementally with one additional commit since the last revision:

  Second try at making Keyman work to some extent

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1805/files
  - new: https://git.openjdk.org/jfx/pull/1805/files/86410203..c8f42a45

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1805&range=01
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1805&range=00-01

  Stats: 46 lines in 2 files changed: 35 ins; 6 del; 5 mod
  Patch: https://git.openjdk.org/jfx/pull/1805.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1805/head:pull/1805

PR: https://git.openjdk.org/jfx/pull/1805


More information about the openjfx-dev mailing list