Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Issue 6336003: Workaround a nasty ibus issue. (Closed)

Created:
9 years, 11 months ago by James Su
Modified:
9 years, 7 months ago
Reviewers:
Peng, Yusuke Sato
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Workaround a nasty ibus issue. The reason of this bug is: Because of some reason, ibus will send a fake event to the application for each real key event. These extra fake key events apparently confuse those web apps. This CL tries to suppress those extra key events faked by ibus, while keeping the behavior of other input methods unaffected as much as possible. It's a hacky workaround. Hope it won't cause any other problem. BUG=chromium-os:6582 TEST=See bug report. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71883

Patch Set 1 #

Patch Set 2 : Fix MENU key. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -9 lines) Patch
M chrome/browser/renderer_host/gtk_im_context_wrapper.h View 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/gtk_im_context_wrapper.cc View 1 6 chunks +40 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
James Su
9 years, 11 months ago (2011-01-15 00:04:14 UTC) #1
James Su
ping
9 years, 11 months ago (2011-01-18 20:27:53 UTC) #2
Daniel Erat
On 2011/01/18 20:27:53, James Su wrote: > ping Sorry, I was on vacation. I've never ...
9 years, 11 months ago (2011-01-18 20:34:31 UTC) #3
James Su
On 2011/01/18 20:34:31, Daniel Erat wrote: > On 2011/01/18 20:27:53, James Su wrote: > > ...
9 years, 11 months ago (2011-01-18 20:35:52 UTC) #4
Yusuke Sato
LGTM Although the main purpose of the patch is to fix Chromium OS, the change ...
9 years, 11 months ago (2011-01-19 05:55:02 UTC) #5
Yusuke Sato
9 years, 11 months ago (2011-01-19 05:56:10 UTC) #6
Forgot to write:
I've tested the change on Chromium OS tot, and it worked fine.

omnibox: OK
google.com search form: OK
youtube search form: OK

-Yusuke


On 2011/01/19 05:55:02, Yusuke Sato wrote:
> LGTM
> 
> Although the main purpose of the patch is to fix Chromium OS, the change
should
> also be beneficial for desktop Linux users who are using ibus-1.3.x.  So, even
> if could fix ibus (1.4 unstable) for Chromium OS, this workaround is still
good
> for such Linux users since they have to continue to use ibus-1.3.x (stable)
for
> a while.
> 
> I'd agree that the workaround is very complex though...
> 
> -Yusuke
> 
> On 2011/01/18 20:35:52, James Su wrote:
> > On 2011/01/18 20:34:31, Daniel Erat wrote:
> > > On 2011/01/18 20:27:53, James Su wrote:
> > > > ping
> > > 
> > > Sorry, I was on vacation.  I've never looked at this code before, so I'm
> > > probably not a very reviewer for this change.
> > That's alright.

Powered by Google App Engine
This is Rietveld 408576698