cloudtrends / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
1 stars 1 forks source link

IME BUG when use east-asian character #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. go to any page with a input control
2. input any east-asian character(such as chinese 一二三四五)。

What is the expected output? What do you see instead?
一二三四五 is expected display in input control but actual is 
二三四五一.
the order is wrong.

What version of the product are you using? On what operating system?

rev.149 on WIN7 

Please provide any additional information below.

add some code in 

LRESULT CALLBACK WebWidgetHost::WndProc(HWND hwnd, UINT message, WPARAM 
wparam,LPARAM lparam)

like this

...
      case WM_IME_CHAR:
          host->KeyEvent(message, wparam, lparam);
        return 0;
...

to fix this problem 

Original issue reported on code.google.com by Isaiah.Net@gmail.com on 9 Dec 2010 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 9 Dec 2010 at 5:05

GoogleCodeExporter commented 9 years ago
Thanks, committed as revision 151.

Original comment by magreenb...@gmail.com on 9 Dec 2010 at 5:31

GoogleCodeExporter commented 9 years ago
finally,I find out this problem is cause by Logitech SetPoint Suit.
It change the sequences of WM_CHAR. response WM_IME_CHAR is more reliable.

Original comment by Isaiah.Net@gmail.com on 10 Dec 2010 at 3:03