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:1 Changed 9 years ago by golbin

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.

Version 0, edited 9 years ago by golbin (next)

comment:2 Changed 9 years ago by tj.vantoll

Owner: set to golbin
Status: newpending

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 golbin

Status: pendingnew

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.

http://i.imgur.com/wMoHX1U.png

Thanks.

comment:4 Changed 9 years ago by golbin

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 Changed 9 years ago by Scott González

Status: newpending

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 in reply to:  5 Changed 9 years ago by golbin

Status: pendingnew

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 :-))

  1. Install Korean IME (refer this link : http://www.declan-software.com/korean_ime/)
  2. Visit http://jsfiddle.net/hmarM/17/ and put a cursor in the text field. :-)
  3. Select Korean from the IME task bar. (refer link of 1.)
  4. Press "r" -> ㄱ
  5. Press "k" -> 가
  6. Press "d" -> 강
  7. Press "s" -> ㄴ
  8. Press "k" -> 나
  9. Press "a" -> 남 (there is a underline in this character)
  10. 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 Scott González

Resolution: wontfix
Status: newclosed

IME on the web is pretty painful. I don't think we can properly handle all of the cases we've encountered.

Note: See TracTickets for help on using tickets.