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

Issue 4528140: Add IBUS_ERROR domain and reply IBUS_ERROR_ON_ENGINE in org.freedesktop.IBus.InputContext.GetEngine (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by Peng
Modified:
12 years, 11 months ago
Reviewers:
Yusuke Sato, fujiwara
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Add IBUS_ERROR domain and reply IBUS_ERROR_NO_ENGINE in org.freedesktop.IBus.InputContext.GetEngine BUG=None TEST=Manually

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -38 lines) Patch
M bus/inputcontext.c View 1 chunk +5 lines, -2 lines 0 comments Download
M src/Makefile.am View 2 chunks +2 lines, -0 lines 0 comments Download
M src/ibus.h View 1 chunk +1 line, -0 lines 0 comments Download
A + src/ibuserror.h View 2 chunks +22 lines, -33 lines 0 comments Download
A src/ibuserror.c View 1 chunk +41 lines, -0 lines 0 comments Download
M src/ibusinputcontext.c View 3 chunks +12 lines, -3 lines 0 comments Download
M src/ibusshare.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/ibustypes.h View 1 chunk +9 lines, -0 lines 0 comments Download
A src/tests/ibus-gi-inputcontext.py View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 5
Peng
12 years, 11 months ago (2011-06-14 14:45:45 UTC) #1
Yusuke Sato
LGTM w/ one question. The code itself LG, but the motivation of the change is ...
12 years, 11 months ago (2011-06-14 15:34:52 UTC) #2
fujiwara
LGTM. Thanks. I also thought g_debug might be enough. BTW, I think this also might ...
12 years, 11 months ago (2011-06-15 08:09:25 UTC) #3
Peng
On 2011/06/15 08:09:25, fujiwara wrote: > LGTM. > > Thanks. I also thought g_debug might ...
12 years, 11 months ago (2011-06-15 14:39:02 UTC) #4
fujiwara
12 years, 11 months ago (2011-06-16 02:08:21 UTC) #5
On 2011/06/15 14:39:02, Peng wrote:
> On 2011/06/15 08:09:25, fujiwara wrote:
> > LGTM.
> > 
> > Thanks. I also thought g_debug might be enough.
> 
> In some cause, the remote function call could be failed by some other reasons.
> Time out, lost connection, input context is not exist. We need print them out
as
> warnings.

Yes, right. However the original problem is that the message is output as
warning even though the null engine is the expected situation. 

> > BTW, I think this also might be a workaround because if the engine already
> emits
> > REQUEST_ENGINE, the warning might be an error while we don't reproduce that
> case
> > at the moment.
> 
> It is very possible the engine is null, even if rquest-engine has been
emitted.
> For example, there is no engine installed in system or enabled.

OK, I see. I meant this kind of situations are not handled but it seems you
prefer this patch to g_debug only.
Sign in to reply to this message.

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