Re: Issue 115920 in chromium: Incompatibility with Sogou Pinyin IME

220 views
Skip to first unread message

chro...@googlecode.com

unread,
Mar 7, 2012, 11:20:56 PM3/7/12
to chromi...@chromium.org

Comment #4 on issue 115920 by welln...@gmail.com: Incompatibility with
Sogou Pinyin IME
http://code.google.com/p/chromium/issues/detail?id=115920

Hi, i'm the PM of Sogou IME for Mac. We are still working on to reproduce
the bug although it happens to us everyweek, and users report it too:

http://pinyin.sogou.com/bbs/viewthread.php?tid=520417&highlight=chrome
http://weibo.com/35040/y8Rp79MS9
http://weibo.com/1765760452/xy4sEihrf
http://weibo.com/1975435933/xocb6s8rI
http://weibo.com/1612859815/xk6MqlnZE

chro...@googlecode.com

unread,
Mar 8, 2012, 12:57:26 AM3/8/12
to chromi...@chromium.org
Updates:
Cc: rse...@chromium.org

Comment #5 on issue 115920 by hb...@chromium.org: Incompatibility with

Greetings,

Thanks for your bug report.
Does this issue happen only on Lion or does it happen also on Snow Leopard?
(Unfortunately, I cannot log into weibo.com and cannot read all reports
except
<http://pinyin.sogou.com/bbs/viewthread.php?tid=520417&highlight=chrome>.)
Technically, Chrome implements NSTextInputClient to receive IME events.
Chrome returns without blocking for all NSTextInputClient methods except
the following three methods:
* [NSTextInputClient characterIndexForPoint:];
* [NSTextInputClient firstRectForCharacterRange:actualRange:], and;
* [NSTextInputClient attributedSubstringForProposedRange:].
Unfortunately, these methods uses blocking calls and they may take long
time (~1.5 seconds). Instead of using blocking calls, a renderer may send
notification messages to a browser every time when the rednerer updates
these values?

Regards,

Hironori Bono

chro...@googlecode.com

unread,
Mar 8, 2012, 3:30:33 AM3/8/12
to chromi...@chromium.org

Comment #6 on issue 115920 by cuichang...@gmail.com: Incompatibility with
Hello,
I am a developer of Sogou IME for Mac。
I confirm that we did not use the following NSTextInputClient methods :
* [NSTextInputClient characterIndexForPoint:];
* [NSTextInputClient firstRectForCharacterRange:actualRange:], and;
* [NSTextInputClient attributedSubstringForProposedRange:].

We use the NSTextInputClient methods as follows:
- (void)insertText:(id)aString replacementRange:(NSRange)replacementRange;
- (void)setMarkedText:(id)aString selectedRange:(NSRange)selectedRange
replacementRange:(NSRange)replacementRange;

So, we can confirm that is not the NSTextInputClient methods problem.


chro...@googlecode.com

unread,
Mar 8, 2012, 4:58:31 AM3/8/12
to chromi...@chromium.org

chro...@googlecode.com

unread,
Mar 9, 2012, 1:06:09 AM3/9/12
to chromi...@chromium.org

Comment #9 on issue 115920 by welln...@gmail.com: Incompatibility with
you can search 搜狗

Attachments:
Screen Shot 2012-03-09 at 下午2.02.15.png 95.3 KB

chro...@googlecode.com

unread,
Mar 9, 2012, 1:15:13 AM3/9/12
to chromi...@chromium.org

Comment #10 on issue 115920 by su...@chromium.org: Incompatibility with

I'm pretty sure that Sogou is not in this list. Although it's already
installed in /Library/Input Methods/SogouInput.app.

chro...@googlecode.com

unread,
Mar 19, 2012, 3:59:14 AM3/19/12
to chromi...@chromium.org

Comment #13 on issue 115920 by zean46in...@gmail.com: Incompatibility with

yes ,nearly all platform supported , we can do remote control by that
software .

chro...@googlecode.com

unread,
Mar 19, 2012, 5:15:46 AM3/19/12
to chromi...@chromium.org

Comment #14 on issue 115920 by rgilb...@google.com: Incompatibility with

OK. I am actually not the one who found the problem, but someone else
brought it to my attention. I think the one who found the problem is not a
Googler.

Is this necessary to fix the bug? If so, maybe we could contact that person
and try to fix it.

Richards

chro...@googlecode.com

unread,
Mar 19, 2012, 9:01:26 AM3/19/12
to chromi...@chromium.org

Comment #15 on issue 115920 by welln...@gmail.com: Incompatibility with

I was the one who found the problem, we think it might be Chrome's issue as
we found same complains from users who are using other Chinese Pinyin IME
and Chrome, such as QQ Pinyin IME for Mac, and Sogou do not have the same
problem in Safari or Firefox. So we need Google's help to solve it.

QQ IME http://shurufa.qq.com/mac/

We will have the new beta version of Sogou IME for Mac released in two
weeks, i can mail it to you if someone gave me a email address.

chro...@googlecode.com

unread,
Mar 22, 2012, 9:09:24 AM3/22/12
to chromi...@chromium.org

Comment #20 on issue 115920 by liuming0...@gmail.com: Incompatibility with

I have this problem,too! What can I do?!!

chro...@googlecode.com

unread,
Mar 24, 2012, 3:38:12 AM3/24/12
to chromi...@chromium.org

Comment #21 on issue 115920 by su...@chromium.org: Incompatibility with

I just tried on my Lion 10.7.3 with Chrome 17.0.963.83 and Sogou
V1.2.0.18559, but I couldn't reproduce this issue.
Can you please provide some more details, e.g. in which input box and
website you encountered this issue?

chro...@googlecode.com

unread,
Mar 24, 2012, 10:35:51 AM3/24/12
to chromi...@chromium.org

Comment #22 on issue 115920 by barbarl...@gmail.com: Incompatibility with
as I know,if you are inputing something when the page is been load or
reflesh, or things like "someone has just @ you" is pushed on your page,
the entire chrome will be stucks.

chro...@googlecode.com

unread,
Mar 25, 2012, 12:39:47 AM3/25/12
to chromi...@chromium.org

Comment #24 on issue 115920 by su...@chromium.org: Incompatibility with

I just reproduced this issue on dict.youdao.com. It's indeed very annoying.

chro...@googlecode.com

unread,
Mar 25, 2012, 6:43:04 AM3/25/12
to chromi...@chromium.org

Comment #25 on issue 115920 by su...@chromium.org: Incompatibility with

I didn't reproduce this issue on Version 19.0.1078.0 canary. I'm wondering
if it has been fixed.

chro...@googlecode.com

unread,
Mar 30, 2012, 10:22:10 AM3/30/12
to chromi...@chromium.org

Comment #28 on issue 115920 by welln...@gmail.com: Incompatibility with

my Chrome updated to 18.0.1025.142, and i encountered this issue again.

chro...@googlecode.com

unread,
Apr 1, 2012, 3:22:19 AM4/1/12
to chromi...@chromium.org

Comment #30 on issue 115920 by zean46in...@gmail.com: Incompatibility with


We've found a bug in Chrome .

if you use Chrome to open a html like below :

<html>
<head>
</head>
<body>
<h2>Maxlength Test</h2>
<input maxlength="10" />
</body>
</html>

Select any input method like apple's official Chinese input method.

click text field and than input something quickly , when the characters of
the input field over 10 (which is declared in html as "maxlength") , you
will see input method has been blocked, after for awhile Chrome has
crashed .

as we test Safari and Firefox don't have the problem , seems chrome has a
bug when process the "maxlength"


chro...@googlecode.com

unread,
Apr 10, 2012, 4:27:36 AM4/10/12
to chromi...@chromium.org

Comment #34 on issue 115920 by rgilb...@google.com: Incompatibility with

Hi all, where do we stand on this bug? has it been identified? I'm hearing
a lot of chatter about it being very annoying for Chinese users here.

chro...@googlecode.com

unread,
Apr 12, 2012, 4:24:54 AM4/12/12
to chromi...@chromium.org

Comment #35 on issue 115920 by welln...@gmail.com: Incompatibility with
Another report from MacIdea, the famous Mac Fan bbs in China, this time it
is QQ IME (http://shurufa.qq.com/mac/)

ML下,QQ输入法你们会卡么
有的时候在chrome下。有文字输入的地方,打字有的时候就卡到不行。。
整个电脑就停在哪种的感觉

in ML, dose it ever stuck with QQ IME?
sometime in Chrome, when you type, it stucks and makes you lose patience.
the whole computer is like freezing

http://mac.pcbeta.com/thread-94334-1-1.html

chro...@googlecode.com

unread,
Apr 12, 2012, 7:41:07 PM4/12/12
to chromi...@chromium.org

Comment #36 on issue 115920 by leizh...@gmail.com: Incompatibility with

@rgilbert: I keep searching on this topic every few days. I haven't seen
anything new.

chro...@googlecode.com

unread,
Apr 13, 2012, 6:23:25 AM4/13/12
to chromi...@chromium.org

Comment #37 on issue 115920 by iam...@gmail.com: Incompatibility with Sogou
Pinyin IME
http://code.google.com/p/chromium/issues/detail?id=115920

mac系统,lion 10.7.3.chrome中文版18.0.1025.162.
所有的中文拼音输入法在chrome下都会卡,频率很高。比如在taobao.com打开页面后快
速输入任何字,都会卡死数秒钟。
这个问题在lion上一直存在,换成其他浏览器就没有问题。如我现在正在使用的
firefox

chro...@googlecode.com

unread,
Apr 16, 2012, 1:49:09 PM4/16/12
to chromi...@chromium.org

Comment #38 on issue 115920 by leizh...@gmail.com: Incompatibility with

This problem happens to ALL Chinese IMEs, including the Apple one. Not just
Sogou.
It doesn't happen to other browsers, such as Safari and Firefox.

chro...@googlecode.com

unread,
Apr 17, 2012, 10:21:53 PM4/17/12
to chromi...@chromium.org
Updates:
Cc: tak...@chromium.org

Comment #39 on issue 115920 by kenji...@chromium.org: Incompatibility

Issue 120626 has been merged into this issue.

chro...@googlecode.com

unread,
Apr 22, 2012, 9:30:45 PM4/22/12
to chromi...@chromium.org
Updates:
Labels: -Area-Undefined Area-UI

Comment #41 on issue 115920 by kenji...@chromium.org: Incompatibility

leizhao4@

Thanks for the repro!
We were able to see the issue first hand.
It seems that the issue is more likely to happen on Lion than Snow Leopard.
I did manage to get the issue on Snow Leopard but only with a chinese IME
and by pushing it very farm in terms of expectations (insanely fast and
therefore non sencical typing). It was much easier to trigger the issue on
Lion and seemed to happen on any type of IME.

Does this match your own experience?
Also, is the typing speed required to trigger the issue something
reasonable?

Thanks.

chro...@googlecode.com

unread,
Apr 22, 2012, 9:31:45 PM4/22/12
to chromi...@chromium.org

Comment #42 on issue 115920 by kenji...@chromium.org: Incompatibility

leizhao4@

Thanks for the repro!
We were able to see the issue first hand.
It seems that the issue is more likely to happen on Lion than Snow Leopard.
I did manage to get the issue on Snow Leopard but only with a chinese IME

and by pushing it very far in terms of expectations (insanely fast and
therefore non sensical typing). It was much easier to trigger the issue on

chro...@googlecode.com

unread,
Apr 22, 2012, 9:32:45 PM4/22/12
to chromi...@chromium.org
Updates:
Status: Untriaged

Comment #43 on issue 115920 by kenji...@chromium.org: Incompatibility

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Apr 23, 2012, 3:53:17 PM4/23/12
to chromi...@chromium.org

Comment #45 on issue 115920 by ke...@google.com: Incompatibility with Sogou
Pinyin IME
http://code.google.com/p/chromium/issues/detail?id=115920

Could you take a look at this?

chro...@googlecode.com

unread,
Apr 23, 2012, 11:51:15 PM4/23/12
to chromi...@chromium.org

Comment #46 on issue 115920 by welln...@gmail.com: Incompatibility with
@kenjibaheux except the way you repro (insanely inputting), there are
another two ways to repro:
1 open a few tabs, switch between tabs and type fast and randomly (with Any
Chinese Pinyin IME), chrome will encounter a crash (freezed for a long
time), i recorded a video for this and mailed it to rgilbert and suzhe
2 open chrome and visit baidu.com, type right away and chrome freezed for a
long time, this can not repro everytime, but im sure you will encounter
this you keep on using Sogou or any other Chinese IME for a week (for daily
work, not just doing it for a few minutes for tests)

macbook pro 13 early 2011
chrome 18.0.1025.165
mac os x 10.7.3 11D50 with all updates
Sogou IME 1.5.0.20669 or 20670 (http://pinyin.sogou.com/mac/)


chro...@googlecode.com

unread,
Apr 24, 2012, 5:01:09 AM4/24/12
to chromi...@chromium.org
Updates:
Status: Available
Owner: ---

Comment #47 on issue 115920 by hb...@chromium.org: Incompatibility with

Greetings,

(in reply to comment #45)


> Could you take a look at this?

Unfortunately, I do not have good knowledge about the current
NSTextInputClient code of Chrome. Even though I have implemented the
initial NSTextInput code long time ago, some people changed it without
notifying me and the current Chrome does not use NSTextInput any longer. It
is definitely better for those who implemented the current TextInputClient
code to work for this issue.

Regards,

Hironori Bono

chro...@googlecode.com

unread,
Apr 24, 2012, 2:05:07 PM4/24/12
to chromi...@chromium.org

Comment #48 on issue 115920 by leizh...@gmail.com: Incompatibility with
@kenjibaheux

Thanks for confirming this. I don't remember I got this issue on Snow
Leopard, but I haven't been using SL for like 10 months so I'm not quite
sure about that. And I don't know if it's because of the Lion or a Chrome
upgrade.

On Lion, I don't need to be insanely fast to trigger it. Just as fast as
normal (~5 keystrokes per second I guess).

Another thing I noticed is, after the long freeze, some of the keystrokes
are duplicating. For example, when I type "pinyinshurufa" for "拼音输入法",
I eventually get "ishurufa拼音输入法" after the freeze.

Thank you all for your effort.

Lei

chro...@googlecode.com

unread,
May 10, 2012, 7:25:11 AM5/10/12
to chromi...@chromium.org

Comment #49 on issue 115920 by 007mingq...@gmail.com: Incompatibility with
lion 10.7.4, same problem with sougou input.

Please fix this bug. It's so annoying.

chro...@googlecode.com

unread,
May 23, 2012, 9:45:54 AM5/23/12
to chromi...@chromium.org

Comment #50 on issue 115920 by amanda.s...@gmail.com: Incompatibility with
I'm on Snow Leopard and have the issue as well--when quickly switching and
typing, if I go too fast, especially if I start mis-typing a word, the
whole browser hangs and then reverts exclusively to English. I then cannot
use the input method any longer. Occasionally, the entire browser hangs and
I have to do a Force Quit. If that doesn't work, which has happened at
least three times over the last two weeks, the only thing I can do is
re-boot by holding down the power key.

Are there any updates or fixes yet? It's very annoying because I am usually
working on multiple documents switching between English and Chinese and so
obviously it is not convenient when I have to reboot. (Luckily I have not
lost anything yet since I save often!)

Thanks!

chro...@googlecode.com

unread,
Jun 4, 2012, 7:44:23 PM6/4/12
to chromi...@chromium.org

Comment #51 on issue 115920 by con...@gmail.com: Incompatibility with Sogou
Pinyin IME
http://code.google.com/p/chromium/issues/detail?id=115920

yes, I have been seeing this bug for more than half a year, has to switch
to safari as my default browser because of this.

chro...@googlecode.com

unread,
Jun 13, 2012, 3:34:38 PM6/13/12
to chromi...@chromium.org

Comment #52 on issue 115920 by leizh...@gmail.com: Incompatibility with
Any developers? :-(

chro...@googlecode.com

unread,
Jun 14, 2012, 12:27:32 AM6/14/12
to chromi...@chromium.org
Updates:
Owner: tha...@chromium.org

Comment #53 on issue 115920 by kenji...@chromium.org: Incompatibility
As per comment #47: I am tentatively assigning thakis as an owner
(searching for NSTextInputClient indicates that you are our best bet :-D )

Let me know if you need anything or if you have a better suggestion for an
owner.
Thanks.

chro...@googlecode.com

unread,
Jun 14, 2012, 12:31:32 AM6/14/12
to chromi...@chromium.org
Updates:
Status: Untriaged

Comment #54 on issue 115920 by tha...@chromium.org: Incompatibility with
Triage: Do we have anyone else for this? Sounds like this is affecting a
bunch of people, and I'm pretty busy with retina stuff atm.

(IME devs: The chrome IME code is in this file:
http://code.google.com/searchframe#OAMlx_jo-ck/src/content/browser/renderer_host/render_widget_host_view_mac.mm&exact_package=chromium&l=1624
Maybe you see what is wrong?)

chro...@googlecode.com

unread,
Jun 14, 2012, 3:43:06 AM6/14/12
to chromi...@chromium.org
Updates:
Cc: h...@chromium.org Yuk...@chromium.org n...@chromium.org
to...@chromium.org koma...@chromium.org

Comment #55 on issue 115920 by kenji...@chromium.org: Incompatibility
Do we have anyone else for this?
From my quick search on NSTextInputClient:
- rsesek@
- suzhe@
- tony@

IME devs (cc-ing TL also):
mostly for expertise if needed but feel free to take ownership!
- horo@
- yukawa@
- nona@

chro...@googlecode.com

unread,
Jun 14, 2012, 2:18:52 PM6/14/12
to chromi...@chromium.org
Updates:
Status: Assigned
Owner: su...@chromium.org
Labels: Mstone-21

Comment #56 on issue 115920 by rse...@chromium.org: Incompatibility with
suzhe@ Do you have any ideas here? I'm not too familiar with IME.

This sounds bad, so ideally M21.

chro...@googlecode.com

unread,
Jun 14, 2012, 4:58:52 PM6/14/12
to chromi...@chromium.org

Comment #58 on issue 115920 by leizh...@gmail.com: Incompatibility with
jshin@ : It happens to every IME I can find. Even Apple's official IME.

chro...@googlecode.com

unread,
Jun 14, 2012, 7:01:06 PM6/14/12
to chromi...@chromium.org

Comment #64 on issue 115920 by js...@chromium.org: Incompatibility with
@leizhao4 : I meant specifically this issue reported in comment 0:

"When you press cmd+tab to switch to Chrome and start immediately typing
with Sogou Pinyin IME for Mac(http://pinyin.sogou.com/mac/),letters in
Sogou IME window displayes one by one very slowly that when you finishing
typing,the letters were still not displayed completely,and this apears
frequently."





chro...@googlecode.com

unread,
Jun 14, 2012, 7:23:09 PM6/14/12
to chromi...@chromium.org

Comment #65 on issue 115920 by leizh...@gmail.com: Incompatibility with
jshin@ : Me too. I didn't mean the separate one (121468). I meant the same
issue (comment 0). And its description is not accurate enough
because "Sogou IME" is not a necessity to trigger it. Any IME I tested will
do.

Reply all
Reply to author
Forward
0 new messages