[openi18n-im:01132] 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 Sriram,

>>>>> On Fri, 19 Nov 2004 10:37:33 -0800,
>>>>> "ss" == sriram swaminathan <[email protected]> wrote:

ss> Hi Akira,
ss> Thanks for your finding. But again, which version/revision of the code are
ss> you testing ? Is that from trunk or r12_1_1 ?

Well, it happened on r12.1 + several backported patches and
even svn2056.

ss> Right now, UNIT registers the listener (callback) when the first session of
ss> the desktop is created, when SetICFocus() is called. When
ss> SC_TRIGGER_ON_NOTIFY is issued to UNIT, it doesn't register any
ss> listeners.

ss> I'm not able to reproduce the problem with the source from trunk. Could you
ss> please let me know more about how to reproduce this problem (and also about
ss> your environment).

Well, you should reproduce it easily. please try:
1. run htt_server
2. run the application, like GTK_IM_MODULE=iiim
   LANG=hi_IN.UTF-8 gedit
3. kill htt_server and restart htt_server
4. press ctrl-space on gedit

Then, no status window and can input only ASCII. as I said,
when i pressed ctrl-space 2 times after this, I can see the
status window and can input Hindi then.  When I debugged
UNIT LE and htt_server and UNIT LE received
SC_TRIGGER_ON_NOTIFY, gEngine_Num was 0 (it's what I meant
no layout) so that the callback was called after receiving
SC_TRIGGER_ON_NOTIFY.

Thanks,
--
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.