Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1440)

Issue 6988047: client: Queue events while the IBus context isn't ready (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by TiagoMatos
Modified:
11 years, 5 months ago
Reviewers:
shawn.p.huang, fujiwara
Base URL:
git://github.com/ibus/ibus.git@master
Visibility:
Public.

Description

client: Queue events while the IBus context isn't ready There are actually 3 patches here. --- client: Queue events while the IBus context isn't ready We may lose events that ought to be processed while the IBus context isn't ready or if the connection to IBus isn't fully established yet. To avoid that, enqueue events to be processed later when the IBus context creation finishes. --- client: Don't cancel an ongoing create input context on another request This would only add more delays. --- client: Cancel any ongoing create input context request on finalize BUG=

Patch Set 1 #

Total comments: 22

Patch Set 2 : v2 #

Patch Set 3 : v3 #

Patch Set 4 : v4 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -87 lines) Patch
M client/gtk2/ibusimcontext.c View 1 2 3 14 chunks +133 lines, -87 lines 1 comment Download

Messages

Total messages: 11
TiagoMatos
Please review, thanks.
11 years, 5 months ago (2013-01-07 09:32:01 UTC) #1
fujiwara
On 2013/01/07 09:32:01, TiagoMatos wrote: > Please review, thanks. Looks good.
11 years, 5 months ago (2013-01-07 13:35:19 UTC) #2
Peng
https://codereview.appspot.com/6988047/diff/1/client/gtk2/ibusimcontext.c File client/gtk2/ibusimcontext.c (left): https://codereview.appspot.com/6988047/diff/1/client/gtk2/ibusimcontext.c#oldcode1498 client/gtk2/ibusimcontext.c:1498: /* Cancel previous create input context request */ I ...
11 years, 5 months ago (2013-01-07 15:34:18 UTC) #3
TiagoMatos
https://codereview.appspot.com/6988047/diff/1/client/gtk2/ibusimcontext.c File client/gtk2/ibusimcontext.c (left): https://codereview.appspot.com/6988047/diff/1/client/gtk2/ibusimcontext.c#oldcode1498 client/gtk2/ibusimcontext.c:1498: /* Cancel previous create input context request */ On ...
11 years, 5 months ago (2013-01-08 14:37:53 UTC) #4
TiagoMatos
I also pushed the 3 separate patches to github: https://github.com/rtcm/ibus/commits/master .
11 years, 5 months ago (2013-01-08 14:39:50 UTC) #5
Peng
https://codereview.appspot.com/6988047/diff/1/client/gtk2/ibusimcontext.c File client/gtk2/ibusimcontext.c (right): https://codereview.appspot.com/6988047/diff/1/client/gtk2/ibusimcontext.c#newcode279 client/gtk2/ibusimcontext.c:279: event->hardware_keycode - 8, On 2013/01/08 14:37:53, TiagoMatos wrote: > ...
11 years, 5 months ago (2013-01-08 16:14:02 UTC) #6
TiagoMatos
On 2013/01/08 16:14:02, Peng wrote: > I know sometimes it looks stupid. But it is ...
11 years, 5 months ago (2013-01-08 17:32:44 UTC) #7
Peng
lgtm with a comment https://codereview.appspot.com/6988047/diff/1/client/gtk2/ibusimcontext.c File client/gtk2/ibusimcontext.c (left): https://codereview.appspot.com/6988047/diff/1/client/gtk2/ibusimcontext.c#oldcode1498 client/gtk2/ibusimcontext.c:1498: /* Cancel previous create input ...
11 years, 5 months ago (2013-01-09 02:21:23 UTC) #8
TiagoMatos
On 2013/01/09 02:21:23, Peng wrote: > Just read the code and refresh my memory. I ...
11 years, 5 months ago (2013-01-09 13:53:53 UTC) #9
Peng
On 2013/01/09 13:53:53, TiagoMatos wrote: > On 2013/01/09 02:21:23, Peng wrote: > > Just read ...
11 years, 5 months ago (2013-01-09 15:25:49 UTC) #10
Daiki Ueno
11 years, 5 months ago (2013-01-30 03:29:14 UTC) #11
Message was sent while issue was closed.
https://codereview.appspot.com/6988047/diff/9002/client/gtk2/ibusimcontext.c
File client/gtk2/ibusimcontext.c (right):

https://codereview.appspot.com/6988047/diff/9002/client/gtk2/ibusimcontext.c#...
client/gtk2/ibusimcontext.c:736: if (!_daemon_is_running)
Sorry for adding a comment to the closed CL, but the client still seems to lose
the very first key press event because of the race of g_bus_watch_name callbacks
and filter_keypress.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b