On Tue, 10 Dec 2024 09:52:38 GMT, Helly Guo <d...@openjdk.org> wrote:

>> @hellyguo Could you provide more details on which Linux distribution, input 
>> method, and fcitx version you're using?
>> 
>> I just tested this on Ubuntu 24.10. For Chinese I'm using Intelligent Pinyin 
>> and for Japanese I'm using Mozc. Everything worked under Ibus but when I 
>> switched to fcitx 4 both my Chinese and Japanese input methods stopped 
>> working for all apps, not just JavaFX. This makes me think that I'm not 
>> setting up fcitx correctly. I did reboot at each step as I changed the 
>> configuration.
>
> hi @beldenfox / @tsayao , thanks for response.
> 
> here is my env.
> 
> 
> # uname -a
> Linux workdeb 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 
> (2024-11-22) x86_64 GNU/Linux
> 
> # cat /etc/os-release
> PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
> NAME="Debian GNU/Linux"
> VERSION_ID="12"
> VERSION="12 (bookworm)"
> VERSION_CODENAME=bookworm
> ID=debian
> HOME_URL="https://www.debian.org/";
> SUPPORT_URL="https://www.debian.org/support";
> BUG_REPORT_URL="https://bugs.debian.org/";
> 
> # fcitx5 -v
> 5.0.21  
> 
> 
> ![Screenshot from 2024-12-10 
> 17-50-02](https://github.com/user-attachments/assets/c3b6139c-34d1-4422-9a6c-b8d06e4988bc)

@hellyguo I can't reproduce the problem you're seeing. I configured a Debian 
Bookworm system with Fcitx5 and Pinyin and tested this PR and everything 
worked. The Linux and Fcitx version numbers are the same as yours. I also 
installed fcitx5 on my existing Ubuntu 24.10 system and it worked there, also.

The behavior seems a little odd but it matches the behavior of other Linux apps 
(I see Roman letters inserted into the JavaFX TextField until I select Chinese 
text in the IM). In your screen capture the input method window was clearly in 
the wrong location but in my testing it was correctly positioned near the 
JavaFX caret.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1080#discussion_r1880546240

Reply via email to