Opened 9 years ago
Closed 6 years ago
#9697 closed bug (wontfix)
Autocomplete problem with CJK IME
Reported by: | golbin | Owned by: | golbin |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.autocomplete | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When user input using CJK IME and move down with arrow key during build character, it searchs with first item once again.
Please see below video. (2~3sec)
http://www.youtube.com/watch?v=NkV5N-z7qyo&feature=youtu.be
Change History (7)
comment:2 Changed 9 years ago by
Owner: | set to golbin |
---|---|
Status: | new → pending |
Hi golbin,
Thanks for taking the time to contribute to the jQuery UI project. In order to look into this we need a reduced test case that shows the issue. I'm not exactly sure what's going on just from watching your YouTube video.
You can use this as a starting point - http://jsfiddle.net/tj_vantoll/hmarM/.
comment:3 Changed 9 years ago by
Status: | pending → new |
---|
I add some test code below.
http://jsfiddle.net/hmarM/17/
And you may not test it because you have to use CJK IME. So I made a image to explain in detail. Please refer below image.
Thanks.
comment:4 Changed 9 years ago by
Here are more details.
I guess, if a user press an arrow key during building character, IME finish building and then raise input event.
So, the codes I patched are that if an arrow key is pressed, make search event is inactivated.
And after that, when other key is pressed, make search event is activated again.
I'm sorry my poor English. I hope you'll understand my words.
comment:5 follow-up: 6 Changed 9 years ago by
Status: | new → pending |
---|
We need the specific steps to reproduce this. Please see #5933, which this is likely a duplicate of, for an example of the type of instructions we need in order to investigate this.
comment:6 Changed 9 years ago by
Status: | pending → new |
---|
Replying to scott.gonzalez:
We need the specific steps to reproduce this. Please see #5933, which this is likely a duplicate of, for an example of the type of instructions we need in order to investigate this.
Hi Scott,
That's a similar issue but this is a different problem.
This is a test steps with Korean IME. (How to write 강남. It means Gangnam :-))
- Install Korean IME (refer this link : http://www.declan-software.com/korean_ime/)
- Visit http://jsfiddle.net/hmarM/17/ and put a cursor in the text field. :-)
- Select Korean from the IME task bar. (refer link of 1.)
- Press "r" -> ㄱ
- Press "k" -> 가
- Press "d" -> 강
- Press "s" -> ㄴ
- Press "k" -> 나
- Press "a" -> 남 (there is a underline in this character)
- Press arrow down.
Then you can see what's the problem.
Before 10th step, if you press arrow right and then do 10th step(press arrow down), then the underline is gone and it works right way.
comment:7 Changed 6 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
IME on the web is pretty painful. I don't think we can properly handle all of the cases we've encountered.
I tried to send a pull request but it's difficult to be a contributor and make a patch right way to me. :-)
So I just leave a patch. Please consider below patch.
https://github.com/golbin/jquery-ui/commit/73581e5ffb59f37c97daeb5a1c28115d0655bae7
Thank you.