On Thu, 12 Dec 2024 23:53:55 GMT, Helly Guo <d...@openjdk.org> wrote:
>> @hellyguo Thanks so much for tracking this down and providing all the >> details. I would like to better understand what that checkbox does but I >> might not be able to get to that until next week. >> >> JavaFX handles keyboard entry using two mechanisms, KeyEvents and >> InputMethodEvents. This corresponds to the way Windows works. On Mac and >> Linux the OS only uses one channel (basically InputMethodEvents) and we have >> to apply a simple heuristic to map this to JavaFX's two-channel approach. >> This checkbox seems to be upsetting that logic. >> >> (I work on the Mac side of this and @tsayao works on the Linux side. I just >> do testing on Linux because it's easy for me to create new virtual machines.) > > Anyway, current solution without checking `im_ctx.on_preedit` can work well. > I backported it to `jfx22` and it worked well. Thanks again. And hope for the > final solution. This option sets if editing happens on the application or in the IME window. Application:  IME Window:  ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1080#discussion_r1885813314