---------- Forwarded message ----------
From: Martin Jansa <martin.ja...@gmail.com>
Date: 2012/2/3
Subject: Re: [E-devel] [PATCH] python-elementary: keyboard fixes
To: Enlightenment developer list <enlightenment-devel@lists.sourceforge.net>


On Fri, Feb 03, 2012 at 04:41:19PM +0900, Jihoon Kim wrote:
> As Sachiel said, I guess you don't have any immodule.
>
> You can check whether immodule is existed or not in
> /usr/local/lib/ecore/immodules or /usr/lib/ecore/immodules.
>
> If there is no immodule, en->imf_context is equal to NULL because immodule
> can't be loaded.

SHR root@gjama / $ ls -la /usr/lib/ecore/immodules/
total 36
drwxr-xr-x 3 root root  4096 Feb  1 11:41 .
drwxr-xr-x 3 root root  4096 Jan 31 08:50 ..
drwxr-xr-x 2 root root  4096 Feb  1 11:41 .debug
-rwxr-xr-x 1 root root  1575 Jan 31 08:50 xim.la
-rwxr-xr-x 1 root root 16940 Jan 31 08:50 xim.so


That's not enough, unless your locale is one
that matches the module, it won't be loaded unless
you force it to with ECORE_IMF_MODULE=xim

If you don't have E17 running and set to use any
input method, it won't use it.

Cheers,

>
> On Friday, February 3, 2012, Martin Jansa wrote:
>
> > On Thu, Feb 02, 2012 at 07:09:27PM -0200, Iván Briano (Sachiel) wrote:
> > > 2012/2/2 Martin Jansa <martin.ja...@gmail.com <javascript:;>>:
> > > > 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?
> >
> > How to check that? and isn't it checked in
> > 2521       if (en->imf_context)
> > ?
> >
> > Cheers,
> >
> > >
> > > > 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: martin.ja...@gmail.com
> > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > 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
> > > > enlightenment-devel@lists.sourceforge.net
> > > > 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
> > > _______________________________________________
> > > e
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> 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-dev2
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to