On Thu, 12 Dec 2024 15:25:29 GMT, Martin Fox <m...@openjdk.org> wrote:
>> ![pic_20241212193112](https://github.com/user-attachments/assets/7b9233f9-3af5-42d5-89f9-9f85248d68dd) >> >> The option is surrounded by a red box. > > @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. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1080#discussion_r1883045965