RFR: 8356652: Input field ignores custom input source characters
Andy Goryachev
angorya at openjdk.org
Thu May 15 17:50:59 UTC 2025
On Thu, 15 May 2025 17:26:39 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> Noticed a bit of a problem.
>>
>> To reproduce, install Himyarit Musnad keyboard https://keyman.com/keyboards/himyarit_musnad
>>
>> typing 'h' causes this character to appear: 𐩱
>> typing 'n' followed by 'h' generates garbage input rather than expected 𐩱:
>>
>> 
>>
>> (I am using the monkey tester, but it will work with any application that uses a TextArea)
>
>> typing 'h' causes this character to appear: 𐩱 typing 'n' followed by 'h' generates garbage input rather than expected 𐩱:
>
> The same happens without the fix. For some reason events for the keys not mapped on the active keyman keyboard still pass to the component - at least partially. That affects the character composition.
You are right, @azuev-java ! Looks like this is a separate bug, where the same text involving surrogate pairs is rendered differently by the TextArea:

-------------
PR Comment: https://git.openjdk.org/jfx/pull/1805#issuecomment-2884616372
More information about the openjfx-dev
mailing list