Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Can't use Input method with autocomplete-plus #210

Closed

Description

@thethreeonee

When I use input method to enter some text in atom, input method will popup a window to let me choose which charactor to confirm. But after 100ms(autocomplete-plus default value), the autocomplete window popup, and it hide the input method window. So I just can't enter any word.

OS: Mac OS X 10.10.2
Atom: 0.176.0
Autocomplete-plus: 2.0.2
Input Method: Chinese Pinyin IME (Mac OS X preinstalled)

Activity

  1. joefitzgerald commented on Jan 29, 2015

    @joefitzgerald
    Contributor

    @MiincGu I'm not sure I've ever entered text using the technique you described (because I only ever write English). Would it be possible to either capture a video / animated gif of this, or do a screen sharing session with us so we can observe it?

  2. modified the milestone: on Jan 31, 2015
  3. park9140 commented on Feb 2, 2015

    @park9140
    Contributor

    I believe this is a duplicate of #200.

  4. joefitzgerald commented on Feb 2, 2015

    @joefitzgerald
    Contributor

    Yes, it was opened while 200 was closed.

  5. chrisyip commented on Feb 4, 2015

    @chrisyip

    I found out there's a compositionstart API for detecting IME input status.

    The order that input event fired:

    1. keydown
    2. compositionstart
    3. input
    4. keyup
    5. compositionend
    6. change

    Here is a demo, open console and try input something.

    Though this order maybe different in real world, but compositionstart is always fired right after keydown. So maybe we can just detect if compositionstart is fired to determine if active autocomplete-plus.

    I will go through autocomplete-plus's source code and try to submit a PR in this weekend.

    If someone is working on it, please leave a message.

  6. joefitzgerald commented on Feb 4, 2015

    @joefitzgerald
    Contributor

    @chrisyip: please feel free to submit a PR to fix this. None of us have Google IME so it's a little hard for us to reproduce at this time. We do handle native IME correctly, and have a test confirming as such.

  7. added a commit that references this issue on Feb 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions