New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 672703 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 620549
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

The data property in compositionupdate event should contain all the marked text

Reported by siul...@gmail.com, Dec 9 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36

Steps to reproduce the problem:
1. Type Japanese or Simplified Chinese pinyin in the text box.

What is the expected behavior?
The "compositionupdate data" should always be the entire marked text. 

What went wrong?
The "compositionupdate data" is the last character typed. Say if you type "t" and then "e", it shows just "e".

Did this work before? Yes M54

Does this work in other browsers? Yes
 Also reproducible with 

Chrome version: 55.0.2883.75  Channel: stable
OS Version: OS X 10.12.0
Flash Version: Shockwave Flash 23.0 r0
 
compositionupdate.html
308 bytes View Download
Labels: prestable-55.0.2883.75
Labels: M-55
Cc: brajkumar@chromium.org
Labels: Needs-Feedback
Tested this issue on Mac OS 10.12 using chrome latest stable M55-55.0.2883.87 by following steps mentioned below.

1. Changed system language and keyboard language to Japanese
2. Navigated to compositionupdate.html 
3. Typed 't' and then 'e' in the text box
4. Observed the text got converted to  'て' 

siulung@ - Could you please confirm is the above mentioned steps is the right way to reproduce this issue? If yes, observed similar behavior on firefox as well. Could you please provide the screen-shot of actual and expected behavior of this issue for better understanding. Attaching scree-cast for reference, please have a look on it and let us know if anything missing from our end.

Thanks!
672703.mp4
613 KB View Download

Comment 4 by siul...@gmail.com, Dec 13 2016

Ah sorry, I should have mentioned that if you are using Japanese, you need to type two separate hiragana characters, say "a" "i". In this case, we should get "compositionupdate data: あい" but got only "compositionupdate data: い".

Comment 5 by siul...@gmail.com, Dec 13 2016

Firefox.png
122 KB View Download
Chrome 55.png
78.8 KB View Download
Owner: chongz@chromium.org
Status: Assigned (was: Unconfirmed)
Are you able to look at this?

Comment 7 by chongz@chromium.org, Dec 15 2016

Mergedinto: 620549
Status: Duplicate (was: Assigned)
Thanks for the report! This issue was introduced in M55 and fixed in M57 (e.g. Current Canary).
Also see  https://crbug.com/620549#c22 

Labels: Hotlist-Input-Dev

Sign in to add a comment