[openi18n-im:01144] Re: UNIT LE doesn't work after restarting htt_server

Akira TAGOH <[email protected]>
Newsgroups gmane.comp.internationalization.input-methods
Organization Red Hat, Inc.
Message-ID <[email protected]>
Hi,

FYI, I can reproduce this problem with below testcase,

Testcase 1:
1. run any gtk2 application
2. change the focus to others
3. restart htt_server
4. get back the focus
5. press ctrl+space

Thought for 1:
It may be possible of reconnecting to in the focus-in event.

Testcase 2:
1. run any gtk2 application
2. restart htt_server without the focus change.
3. press ctrl+space

Thought for 2:
The key event is only way to detect whether or not the input
context is valid. but the first time ctrl+space just detects
that disconnection. the second time ctrl+space goes to turn
off IM. so if activating IM is failed, it should keeps off?

Testcase 3:
1. run any gtk2 application
2. press ctrl+space
3. change the focus to others.
4. restart htt_server
5. get back the focus
6. input something or press ctrl+space.

Thought for 3:
In this case, it may be possible of reconnecting to in the
focus-in event and it should keeps on?


Well, though I just noticed during debugging this problem,
when IIIMF_STATUS_CONNECTION_CLOSED is returned by
iiimf_forward_event, can't I assume the input context is
invalid too? actually I got IIIMF_STATUS_IC_INVALID after
that. so iiimgcf needs something 2 times to recover this
state.

Any idea?

--
Akira TAGOH
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.