On Wed, 2 Oct 2024 09:06:17 GMT, Lukasz Kostyra <lkost...@openjdk.org> wrote:

> I have an issue in IMETest with the new patch. This does not happen on 
> master, so I suspect it's a regression.
> 
> I tried typing with polish keyboard and it seems like it does not pick up the 
> special characters which use diacritical signs - ą, ć, ę, ł, ń, ó, ś, ż, ź. 
> Polish keyboard layout (known in Ubuntu simply as "Polish", in Windows as 
> "Polish (programmers)") invokes those by using a combination of Right Alt + 
> respective key so to get the above. The only exception is ż and ź:
> 
> * Right Alt + Z == ż
> * Right Alt + X == ź
> 
> It seems like something recognizes those characters in the background, as I 
> do get `Released: <character>` message in the console, but nothing shows up 
> in the Text Area of IMETest. On master I do get `Pressed: <character>` 
> messages when trying to type those characters, so I suspect some event does 
> not fire.
> 
> **EDIT:** I should add, this was tested on Ubuntu 24.04.1 LTS

It seems IME filters the key press event in the case of those characters. So I 
think I'll have to keep the event values and then send on `commitIME`, both 
press and release, depending on what was filtered.

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

PR Comment: https://git.openjdk.org/jfx/pull/1080#issuecomment-2391456452

Reply via email to