Hi Semyon,

In windows10 after your fix too, I still find the sogou input appearing at the bottom right corner of the screen, not below text component caret.

However  in windows 7, even without your fix, I find the sogou input appearing below text component caret.

Regards
Prasanta
On 10/2/2017 8:48 PM, Semyon Sadetsky wrote:
Hello,

Please review fix for JDK10:

bug: https://bugs.openjdk.java.net/browse/JDK-8183504
webrev: http://cr.openjdk.java.net/~ssadetsky/8183504/webrev.00

Sogou Pinyin is an 3rd party app [1],  but it looks like that it is the most popular input method in China [2]. Sogou Pinyin acts in different way than the standard Microsoft IME. The events sent to the application are different and there is a lot of extra functionality in this IME. In the fix I tried to make java windows IME bridge compatible with both Sogou Pinyin IME and Microfoft IME. The fix covers standard IME usage scenarios. Unfortunately, since Sogou Pinyin has extended functionality preventing its candidates window to follow the location set in CANDIDATEFORM and the source code is not open there are still may be scenarios when the candidates window location is not aligned to java text input position.

--Semyon

[1] http://pinyin.sogou.com/ (Chinese site)
[2] https://en.wikipedia.org/wiki/Sogou_Pinyin


Reply via email to