No compositionend event is dispatched when a second word is started without the first being finalized by an enter keystroke.

Confirmed Issue #1099959 • Assigned to Grisha L.

Details

Created
Nov 20, 2014
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  • Open IE 11.
  • Navigate to: http://jsfiddle.net/fjmepauv/11/.
  • Change input language to Japanese/Hiragana and use Microsoft IME.
  • Press F12 to open developer console and watch the console output when doing the following:
  • Type the following in the textarea below: “n” and “i” and press space (if no underline appeares check that the inputlanguage is really japanese with hiragana). Press "n".

The output should look like the following in IE 11:

keydown: ‘n’
compositionstart
compositionupdate: n
keydown: ‘i’
compositionupdate: に
keydown: ' '
compositionupdate: 二
keydown: ‘n’
compositionupdate: n

Expected Results:

keydown: ‘n’
compositionstart
compositionupdate: n
keydown: ‘i’
compositionupdate: に
keydown: ' '
compositionupdate: 二
keydown: ‘n’
compositionend: 二
compositionstart
compositionupdate: n

If a word is currently in composition (compositionstart with no composition end) and space is pressed following by any other latin or numerical keystroke IE should fire an compositionend event and a compositionstar event and a compositionupdate event with the new word.

Actual Results:

Dev Channel specific:

Yes

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To from “Tony S.” to “Sermet I.”

      Changed Assigned To to “Amit J.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Amit J.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Bogdan B.”

      Changed Status from “Won’t fix”

      Changed Status to “Confirmed”

      Changed Assigned To from “Bogdan B.” to “Amit J.”

      Changed Assigned To to “Amit J.”

      Changed Assigned To from “Amit J.” to “Grisha L.”

    • I am also seeing this on Edge, and so was wondering the status of this.

      This is particularly problematic as the sequence actually looks like so:

      keydown: ‘n’
      compositionstart
      compositionupdate: n
      keydown: ‘i’
      compositionupdate: に
      keydown: ' '

      keydown: ‘n’
      compositionupdate: n

      click away or press enter

      compositionend: ‘にn’

      So it treats the entire thing as an ongoing composition, but does not give accurate composition update events.

      The two possible ways to fix this are:

      1. end the composition on space and then start a new composition
      2. fix the composition update to accurately show the entire content being edited

      Otherwise the IME events cannot be reliably trusted on Edge.

    • Forgot to mention, I am seeing this behavior in Edge 38.

    You need to sign in to your Microsoft account to add a comment.

    Sign in