[Gpephone-devel] ptim: engine load count

YU Yijun RD-ILAB-PEK yijun.yu at orange-ftgroup.com
Tue Jul 24 05:03:31 CEST 2007


Hi, Florian, 

Currently Srella is dedicated in this work item. 

Since it is impossible to find an open sourced phone keypad based text input method (similar as Zi or T9), we will try to provide an open sourced virtual keyboard based text input method for the time being. Srella currently is working on this and he will release it very soon. 

On the next step, we will try to add a new feature to the text input method: The text input method module shall be able to automatically switch input methods according to the current focused widget. i.e., if the current focused widget is the edit widget receiving a phone number, then the current input method should be switched to numeric input method. 

In order to implement this feature, when programming, application developers shall explicitly specify which widget wants to have which type of input method (numeric, Chinese, English, etc.) (using g_object_set_data). And the text input method module shall be able to detect the current focused widget and then get its associate input method type(using g_object_get_data) and then switch to that input method type.

Is it easy to detect the current focused widget in Gtk+?

I agree that there should be a global hotkey configuration mechanism;
I agree that a gpe-phonepanel plugin shall be responsible for showing current text input method status and switching to another text input method (either by detecting corresponding hotkey pressing or by clicking on the touch screen)

Regards
YU Yijun

 

>-----Original Message-----
>From: gpephone-devel-bounces at linuxtogo.org
>[mailto:gpephone-devel-bounces at linuxtogo.org] On Behalf Of Florian Boor
>Sent: 2007年7月24日 0:04
>To: Srella
>Cc: gpephone-devel at linuxtogo.org
>Subject: Re: [Gpephone-devel] ptim: engine load count
>
>Hi,
>
>Srella schrieb:
>> I have ever encountered your problem. You should notice that in
>> sim_engine_keyboard.c, there is a IME_InputMethod keyboard_im_info[].
>> The order of engines in this array results in the loading order. But
>> sometimes you may find changing the order makes no difference, if so,
>> try make distclean and build again, maybe it will do some help.
>>
>> Also, you should notice there is a file named imconfig. It is in charge
>> of corresponding the engine with proper helper. Adding a new line after
>> adding a new engine is a must.
>
>is someone working on this currently? I noticed that the selected input method
>is reset as soon as you change the input focus. The selected input method should
>stay persistent and there needs to be a way to configure the key that changes
>the input method. In fact I would prefer to remove that hotkey from ptim at all
>and move this to a gpe-phonepanel plugin that shows the status and cares about
>handling the hotkey. This is quite important in order to get more useful images
>for the next release.
>
>Greetings
>
>Florian
>
>
>--
>The dream of yesterday                  Florian Boor
>is the hope of today                    Tel: +49 271-771091-15
>and the reality of tomorrow.            Fax: +49 271-771091-19
>[Robert Hutchings Goddard, 1904]        florian.boor at kernelconcepts.de
>
>1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76
>
>_______________________________________________
>Gpephone-devel mailing list
>Gpephone-devel at linuxtogo.org
>http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpephone-devel



More information about the Gpephone-devel mailing list