New issue
Advanced search Search tips

Issue 684236 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

The IME composition is broken if it contains standalone combining characters

Project Member Reported by shuchen@chromium.org, Jan 24 2017

Issue description

Chrome Version: (copy from chrome://version)
OS: (e.g. Win7, OSX 10.9.5, etc...)

What steps will reproduce the problem?
(1) Installs the IME extension: https://chrome.google.com/webstore/detail/google-input-tools/mclkkofklkfljcocdinagocijmpgbhab
(2) In the extension option page, enable the Malayalam phonetic keyboard (the 3rd item begin with "Malayalam" in the list)
(3) Activates the Malayalam phonetic keyboard by clicking the extension icon on the Chrome toolbar.
(4) Open a tab with "http://www.mytextarea.com".
(5) Type "ma" + SPACE, should get "മ ".
(6) Now type "ma" again.

What is the expected result?
should get "മ മ".

What happens instead?
got "മ ംഅ ".

As I investigated, this issue seems in blink so I marked the OS as "All".

 
Owner: yoichio@chromium.org
Status: Assigned (was: Unconfirmed)
It is strange that this issue only repros if the text editor is non-empty, and not repro if the text editor has empty text.

In third_party/WebKit/Source/core/editing/InputMethodController.cpp, InputMethodController::hasComposition() returns false after |m_hasComposition| is set to true at https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/editing/InputMethodController.cpp?sq=package:chromium&dr=C&rcl=1485202678&l=584.

yoichio@, since you recently did a change to hasComposition(), can you please take a look and find the root cause? Thanks!

Btw, the standalone combining character in the repro steps is '\u0D02'.

Btw, this issue doesn't repro on native text input field, e.g. Omnibox, FindBar, etc.

Status: WontFix (was: Assigned)
Not repro on Version 61.0.3154.4 (Official Build) canary (64-bit)

Comment 5 by cibu@google.com, Jul 12 2017

This is not reproducible because we have updated the IME extension prevent formation of Anusvara( ം) - as a workaround. However, there is a related but different issue which is not solved:

Type: 'saamyam'
Expected: സാമ്യം
Actual: സാംയം

I believe this is related the original issue around Anusvara which is classified as a combining mark.

Sign in to add a comment