2012/2/2 Martin Jansa <[email protected]>:
> On Thu, Feb 02, 2012 at 10:03:35AM +0100, Martin Jansa wrote:
>> On Thu, Feb 02, 2012 at 05:47:14PM +0900, Jihoon Kim wrote:
>> > Hi, Martin.
>> >
>> > Did you compiile ecore with --disable-ecore-imf option?
>> > It can be a clue to me to debug this bug.
>>
>> No, imf is enabled:
>>   Ecore_IMF....................: yes
>>     XIM........................: yes
>>     SCIM.......................: no
>>   Ecore_IMF_Evas...............: yes
>>
>> and from elementary;
>> checking for ELEMENTARY... yes
>> checking for ELEMENTARY_ECORE_IMF... yes
>>
>>   Features:
>>     Ecore_IMF..............: yes
>>
>> > If it is, I think it can be fixed easily. (I will.)
>>
>> To be clear, if I call
>> elm_entry_input_panel_enabled_set(en, EINA_TRUE);
>> then it works as expected, I'm looking for way to make this setting
>> default enabled for all entries (as we're using illume2 on phones
>> without hw keyboards, so virtual keyboard is needed for every entry).
>
> It seems like
> ecore_imf_context_input_panel_enabled_get(en->imf_context);
> is returning 0 for me and for some reason gdb doesn't want me to step into 
> it..
>

Do you have an IMF context loaded?

> Attaching 2 more patches to make debugging this easier.
>
> SHR root@gjama ~ $ gdb ./entry_example
> GNU gdb (GDB) 7.3.1
> Copyright (C) 2011 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "arm-oe-linux-gnueabi".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /home/root/entry_example...done.
> (gdb) b _edje_entry_input_panel_enabled_get
> Function "_edje_entry_input_panel_enabled_get" not defined.
> Make breakpoint pending on future shared library load? (y or [n]) y
> Breakpoint 1 (_edje_entry_input_panel_enabled_get) pending.
> (gdb) b ecore_imf_context_input_panel_enabled_get
> Function "ecore_imf_context_input_panel_enabled_get" not defined.
> Make breakpoint pending on future shared library load? (y or [n]) y
> Breakpoint 2 (ecore_imf_context_input_panel_enabled_get) pending.
> (gdb) r
> Starting program: /home/root/entry_example
> [Thread debugging using libthread_db enabled]
> Xlib:  extension "DPMS" missing on display ":0".
>
> Breakpoint 1, _edje_entry_input_panel_enabled_get (rp=0xae350) at 
> edje_entry.c:2518
> 2518       Entry *en = rp->entry_data;
> (gdb) n
> 2517    {
> (gdb) n
> 2519       if (!en) return EINA_FALSE;
> (gdb) n
> 2521       if (en->imf_context)
> (gdb) si
> 0x403d5d90      2521       if (en->imf_context)
> (gdb)
> 2522         return 
> ecore_imf_context_input_panel_enabled_get(en->imf_context);
> (gdb)
> 2526    }
> (gdb) finish
> Run till exit from #0  _edje_entry_input_panel_enabled_get (rp=<optimized 
> out>) at edje_entry.c:2526
> 0x403f0540 in edje_object_part_text_input_panel_enabled_get (obj=<optimized 
> out>, part=0x4011d1c0 "elm.text") at edje_util.c:1874
> 1874            return _edje_entry_input_panel_enabled_get(rp);
> Value returned is $1 = 0 '\000'
>
>
>
> --
> Martin 'JaMa' Jansa     jabber: [email protected]
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to