Re: [E-devel] [PATCH] python-elementary: keyboard fixes
I've applied the patches on py-elm. Thank you. -- Boris Faure -- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
I've added test code in elementary_test entry6. You can test it in illume touch environment. You can use illume touch screen mode following the below step in e17: Setting Setting panel Profiles Select Touch Screen Press Apply button. On Saturday, February 4, 2012, Davide Andreoli wrote: 2012/2/4 Martin Jansa martin.ja...@gmail.com javascript:;: On Fri, Feb 03, 2012 at 06:59:49PM +0100, Davide Andreoli wrote: 2012/2/3 Martin Jansa martin.ja...@gmail.com javascript:;: On Fri, Feb 03, 2012 at 04:37:20PM +0900, Jihoon Kim wrote: Hi, Martin. '0001-elm_entry-add-missing-elm_entry_input_panel_enabled_.patch' is applied in SVN. Thanks. However, I can't apply python patch because I haven't used python. Is there anybody able to review Martin's python patch? devs on #edevelop always say that nobody cares about python.. so you can probably just merge them.. well I don't care about python too :) I CARE ABOUT PYTHON!!! I'm using it in some applications. It's the more complete and tested binding we have, it works really well and it rocks. Also it took lots of time to develop/test/fix. Does keyboard work for you? :P How can I test the keyboard? why I can't find a test for it? Review and test those patches to see I'm actually fixing it, not breaking.. Cheers, Please don't breake it!! DaveMDS On Friday, February 3, 2012, Martin Jansa wrote: 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.. 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; -- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
On Sat, Feb 04, 2012 at 11:41:59AM +0100, Davide Andreoli wrote: 2012/2/4 Martin Jansa martin.ja...@gmail.com: On Fri, Feb 03, 2012 at 06:59:49PM +0100, Davide Andreoli wrote: 2012/2/3 Martin Jansa martin.ja...@gmail.com: On Fri, Feb 03, 2012 at 04:37:20PM +0900, Jihoon Kim wrote: Hi, Martin. '0001-elm_entry-add-missing-elm_entry_input_panel_enabled_.patch' is applied in SVN. Thanks. However, I can't apply python patch because I haven't used python. Is there anybody able to review Martin's python patch? devs on #edevelop always say that nobody cares about python.. so you can probably just merge them.. well I don't care about python too :) I CARE ABOUT PYTHON!!! I'm using it in some applications. It's the more complete and tested binding we have, it works really well and it rocks. Also it took lots of time to develop/test/fix. Does keyboard work for you? :P How can I test the keyboard? why I can't find a test for it? I had bug reports from applications we're using like: http://www.shr-project.org/trac/ticket/1571 And to test it from python, I've modified existing tests test_button.py test_entry.py a bit. Be aware that there are 2 issues, one is that keyboard doesn't show when you ask explicitly (that was because wrong constants) and second is that ie doesn't show automaticaly when you focus on text entry. For that I had to modify button_example_01.c entry_example.c because the problem wasn't in python BINDINGs but global, but I've added few functions to bindings too to detect and test this problem. Cheers, Review and test those patches to see I'm actually fixing it, not breaking.. Cheers, Please don't breake it!! DaveMDS On Friday, February 3, 2012, Martin Jansa wrote: 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.. 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,
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
On Fri, Feb 03, 2012 at 06:59:49PM +0100, Davide Andreoli wrote: 2012/2/3 Martin Jansa martin.ja...@gmail.com: On Fri, Feb 03, 2012 at 04:37:20PM +0900, Jihoon Kim wrote: Hi, Martin. '0001-elm_entry-add-missing-elm_entry_input_panel_enabled_.patch' is applied in SVN. Thanks. However, I can't apply python patch because I haven't used python. Is there anybody able to review Martin's python patch? devs on #edevelop always say that nobody cares about python.. so you can probably just merge them.. well I don't care about python too :) I CARE ABOUT PYTHON!!! I'm using it in some applications. It's the more complete and tested binding we have, it works really well and it rocks. Also it took lots of time to develop/test/fix. Does keyboard work for you? :P Review and test those patches to see I'm actually fixing it, not breaking.. Cheers, Please don't breake it!! DaveMDS On Friday, February 3, 2012, Martin Jansa wrote: 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.. 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 javascript:; -- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
2012/2/4 Martin Jansa martin.ja...@gmail.com: On Fri, Feb 03, 2012 at 06:59:49PM +0100, Davide Andreoli wrote: 2012/2/3 Martin Jansa martin.ja...@gmail.com: On Fri, Feb 03, 2012 at 04:37:20PM +0900, Jihoon Kim wrote: Hi, Martin. '0001-elm_entry-add-missing-elm_entry_input_panel_enabled_.patch' is applied in SVN. Thanks. However, I can't apply python patch because I haven't used python. Is there anybody able to review Martin's python patch? devs on #edevelop always say that nobody cares about python.. so you can probably just merge them.. well I don't care about python too :) I CARE ABOUT PYTHON!!! I'm using it in some applications. It's the more complete and tested binding we have, it works really well and it rocks. Also it took lots of time to develop/test/fix. Does keyboard work for you? :P How can I test the keyboard? why I can't find a test for it? Review and test those patches to see I'm actually fixing it, not breaking.. Cheers, Please don't breake it!! DaveMDS On Friday, February 3, 2012, Martin Jansa wrote: 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.. 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 javascript:; -- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
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 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 1874return _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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
On Fri, Feb 03, 2012 at 04:37:20PM +0900, Jihoon Kim wrote: Hi, Martin. '0001-elm_entry-add-missing-elm_entry_input_panel_enabled_.patch' is applied in SVN. Thanks. However, I can't apply python patch because I haven't used python. Is there anybody able to review Martin's python patch? devs on #edevelop always say that nobody cares about python.. so you can probably just merge them.. well I don't care about python too :) On Friday, February 3, 2012, Martin Jansa wrote: 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.. 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 1874return _edje_entry_input_panel_enabled_get(rp); Value returned is $1 = 0 '\000' -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com javascript:; -- 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 signature.asc Description: Digital 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
-- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
On Fri, Feb 03, 2012 at 10:52:18AM -0200, Iván Briano (Sachiel) wrote: -- 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. Ah that can explain it.. I was running those tests from ssh session, I'll try to export it manually and then from terminal open from E17 when I get home. But then I'll probably add that export to same place where DISPLAY is exported because it doesn't make much sense to me to change input behavior when I open some graphical aplication in screen session with DISPLAY exported and with icon on desktop.. Thanks. Cheers, 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
2012/2/3 Martin Jansa martin.ja...@gmail.com: On Fri, Feb 03, 2012 at 04:37:20PM +0900, Jihoon Kim wrote: Hi, Martin. '0001-elm_entry-add-missing-elm_entry_input_panel_enabled_.patch' is applied in SVN. Thanks. However, I can't apply python patch because I haven't used python. Is there anybody able to review Martin's python patch? devs on #edevelop always say that nobody cares about python.. so you can probably just merge them.. well I don't care about python too :) I CARE ABOUT PYTHON!!! I'm using it in some applications. It's the more complete and tested binding we have, it works really well and it rocks. Also it took lots of time to develop/test/fix. Please don't breake it!! DaveMDS On Friday, February 3, 2012, Martin Jansa wrote: 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.. 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 javascript:; -- 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!
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
Hi, Martin. Did you compiile ecore with --disable-ecore-imf option? It can be a clue to me to debug this bug. If it is, I think it can be fixed easily. (I will.) On Thursday, February 2, 2012, Martin Jansa wrote: Hi, two patches attached to make keyboard show/hide working again at least when called manually ie: win.keyboard_mode_set(elementary.ELM_WIN_KEYBOARD_ON) But there is still problem with virtual keyboard not automatically showing when some text entry get focus I guess it's because of this patch http://trac.enlightenment.org/e/changeset/64424 but haven't found easy way to enable elm_entry_input_panel by default e.g. on devices without hw keyboard. Cheers, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com javascript:; -- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
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). Cheers, On Thursday, February 2, 2012, Martin Jansa wrote: Hi, two patches attached to make keyboard show/hide working again at least when called manually ie: win.keyboard_mode_set(elementary.ELM_WIN_KEYBOARD_ON) But there is still problem with virtual keyboard not automatically showing when some text entry get focus I guess it's because of this patch http://trac.enlightenment.org/e/changeset/64424 but haven't found easy way to enable elm_entry_input_panel by default e.g. on devices without hw keyboard. Cheers, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com javascript:; -- 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 -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature -- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
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.. 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 1874return _edje_entry_input_panel_enabled_get(rp); Value returned is $1 = 0 '\000' -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com From c506f5f078b6abc789602603c481168575cf7260 Mon Sep 17 00:00:00 2001 From: Martin Jansa martin.ja...@gmail.com Date: Thu, 2 Feb 2012 20:04:51 +0100 Subject: [PATCH] elm_entry: add missing elm_entry_input_panel_enabled_get * it was in elm_entry.h but without implementation Signed-off-by: Martin Jansa martin.ja...@gmail.com --- elementary/src/lib/elm_entry.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/elementary/src/lib/elm_entry.c b/elementary/src/lib/elm_entry.c index d9d4400..ea6fd00 100644 --- a/elementary/src/lib/elm_entry.c +++ b/elementary/src/lib/elm_entry.c @@ -3492,3 +3492,12 @@ elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled) edje_object_part_text_input_panel_enabled_set(wd-ent, elm.text, enabled); } +EAPI Eina_Bool +elm_entry_input_panel_enabled_get(Evas_Object *obj) +{ + ELM_CHECK_WIDTYPE(obj, widtype) EINA_TRUE; + Widget_Data *wd = elm_widget_data_get(obj); + if (!wd) return EINA_TRUE; + + return wd-input_panel_enable; +} -- 1.7.8.4 From 718eaa14bde4274b97d505ffeb00bbffee3ba1cf Mon Sep 17 00:00:00 2001 From: Martin Jansa martin.ja...@gmail.com Date: Thu, 2 Feb 2012 14:22:46 +0100 Subject: [PATCH] python-elementary: add input_panel_enabled getter/setter for elm_entry Signed-off-by: Martin Jansa martin.ja...@gmail.com --- .../elementary/elementary.c_elementary_entry.pxi |6 ++ .../include/elementary/c_elementary.pxd|2 ++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi b/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi index 15686ce..c2a2cb0 100644 --- a/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi +++ b/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi @@ -205,6 +205,12 @@ cdef class
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
2012/2/2 Martin Jansa martin.ja...@gmail.com: 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: 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 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
Hi, Martin. I've fixed on rev 67690, 67691. Would you please test again after updating edje, elementary svn and building? On Friday, February 3, 2012, 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? 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 1874return _edje_entry_input_panel_enabled_get(rp); Value returned is $1 = 0 '\000' -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com javascript:; -- 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 javascript:; 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 enlightenment-devel@lists.sourceforge.net javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
On Fri, Feb 03, 2012 at 02:05:43PM +0900, Jihoon Kim wrote: Hi, Martin. I've fixed on rev 67690, 67691. Would you please test again after updating edje, elementary svn and building? Hi, can you apply those 4 patches from me, so I can upgrade and test without local patches? Thanks, On Friday, February 3, 2012, 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? 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 1874return _edje_entry_input_panel_enabled_get(rp); Value returned is $1 = 0 '\000' -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com javascript:; -- 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 javascript:; 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 enlightenment-devel@lists.sourceforge.net javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
On Thu, Feb 02, 2012 at 07:09:27PM -0200, Iván Briano (Sachiel) wrote: 2012/2/2 Martin Jansa martin.ja...@gmail.com: 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 ___ 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 signature.asc Description: Digital 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,
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
Hi, Martin. '0001-elm_entry-add-missing-elm_entry_input_panel_enabled_.patch' is applied in SVN. Thanks. However, I can't apply python patch because I haven't used python. Is there anybody able to review Martin's python patch? On Friday, February 3, 2012, Martin Jansa wrote: 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.. 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 1874return _edje_entry_input_panel_enabled_get(rp); Value returned is $1 = 0 '\000' -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com javascript:; -- 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
Re: [E-devel] [PATCH] python-elementary: keyboard fixes
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. 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 1874return _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
[E-devel] [PATCH] python-elementary: keyboard fixes
Hi, two patches attached to make keyboard show/hide working again at least when called manually ie: win.keyboard_mode_set(elementary.ELM_WIN_KEYBOARD_ON) But there is still problem with virtual keyboard not automatically showing when some text entry get focus I guess it's because of this patch http://trac.enlightenment.org/e/changeset/64424 but haven't found easy way to enable elm_entry_input_panel by default e.g. on devices without hw keyboard. Cheers, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com From 9fb6ead57a36215d93ebb3a492fceba250d4fe0d Mon Sep 17 00:00:00 2001 From: Martin Jansa martin.ja...@gmail.com Date: Wed, 1 Feb 2012 19:33:15 +0100 Subject: [PATCH] python-elementary: ELM_WIN_KEYBOARD constants to match elm_win.h Signed-off-by: Martin Jansa martin.ja...@gmail.com --- .../python-elementary/elementary/__init__.py | 25 --- .../include/elementary/c_elementary.pxd| 25 --- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/BINDINGS/python/python-elementary/elementary/__init__.py b/BINDINGS/python/python-elementary/elementary/__init__.py index 288d9a6..edd1547 100644 --- a/BINDINGS/python/python-elementary/elementary/__init__.py +++ b/BINDINGS/python/python-elementary/elementary/__init__.py @@ -35,15 +35,22 @@ from c_elementary import Object, Window, Background, Icon, \ ELM_WIN_BASIC = 0 ELM_WIN_DIALOG_BASIC = 1 -ELM_WIN_KEYBOARD_OFF = 0 -ELM_WIN_KEYBOARD_ON = 1 -ELM_WIN_KEYBOARD_ALPHA = 2 -ELM_WIN_KEYBOARD_NUMERIC = 3 -ELM_WIN_KEYBOARD_PIN = 4 -ELM_WIN_KEYBOARD_PHONE_NUMBER = 5 -ELM_WIN_KEYBOARD_HEX = 6 -ELM_WIN_KEYBOARD_TERMINAL = 7 -ELM_WIN_KEYBOARD_PASSWORD = 8 +ELM_WIN_KEYBOARD_UNKNOWN = 0 +ELM_WIN_KEYBOARD_OFF = 1 +ELM_WIN_KEYBOARD_ON = 2 +ELM_WIN_KEYBOARD_ALPHA = 3 +ELM_WIN_KEYBOARD_NUMERIC = 4 +ELM_WIN_KEYBOARD_PIN = 5 +ELM_WIN_KEYBOARD_PHONE_NUMBER = 6 +ELM_WIN_KEYBOARD_HEX = 7 +ELM_WIN_KEYBOARD_TERMINAL = 8 +ELM_WIN_KEYBOARD_PASSWORD = 9 +ELM_WIN_KEYBOARD_IP = 10 +ELM_WIN_KEYBOARD_HOST = 11 +ELM_WIN_KEYBOARD_FILE = 12 +ELM_WIN_KEYBOARD_URL = 13 +ELM_WIN_KEYBOARD_KEYPAD = 14 +ELM_WIN_KEYBOARD_J2ME = 15 ELM_POLICY_QUIT = 0 ELM_POLICY_LAST = 1 diff --git a/BINDINGS/python/python-elementary/include/elementary/c_elementary.pxd b/BINDINGS/python/python-elementary/include/elementary/c_elementary.pxd index a5ae7c5..b1d4dbe 100644 --- a/BINDINGS/python/python-elementary/include/elementary/c_elementary.pxd +++ b/BINDINGS/python/python-elementary/include/elementary/c_elementary.pxd @@ -69,15 +69,22 @@ cdef extern from Elementary.h: ELM_WIN_SPLASH ctypedef enum Elm_Win_Keyboard_Mode: -ELM_WIN_KEYBOARD_OFF -ELM_WIN_KEYBOARD_ON -ELM_WIN_KEYBOARD_ALPHA -ELM_WIN_KEYBOARD_NUMERIC -ELM_WIN_KEYBOARD_PIN -ELM_WIN_KEYBOARD_PHONE_NUMBER -ELM_WIN_KEYBOARD_HEX -ELM_WIN_KEYBOARD_TERMINAL -ELM_WIN_KEYBOARD_PASSWORD +ELM_WIN_KEYBOARD_UNKNOWN # Unknown keyboard state +ELM_WIN_KEYBOARD_OFF # Request to deactivate the keyboard +ELM_WIN_KEYBOARD_ON # Enable keyboard with default layout +ELM_WIN_KEYBOARD_ALPHA# Alpha (a-z) keyboard layout +ELM_WIN_KEYBOARD_NUMERIC # Numeric keyboard layout +ELM_WIN_KEYBOARD_PIN # PIN keyboard layout +ELM_WIN_KEYBOARD_PHONE_NUMBER # Phone keyboard layout +ELM_WIN_KEYBOARD_HEX # Hexadecimal numeric keyboard layout +ELM_WIN_KEYBOARD_TERMINAL # Full (QUERTY) keyboard layout +ELM_WIN_KEYBOARD_PASSWORD # Password keyboard layout +ELM_WIN_KEYBOARD_IP # IP keyboard layout +ELM_WIN_KEYBOARD_HOST # Host keyboard layout +ELM_WIN_KEYBOARD_FILE # File keyboard layout +ELM_WIN_KEYBOARD_URL # URL keyboard layout +ELM_WIN_KEYBOARD_KEYPAD # Keypad layout +ELM_WIN_KEYBOARD_J2ME # J2ME keyboard layout ctypedef enum Elm_Policy: ELM_POLICY_QUIT -- 1.7.8.4 From 4c923b0c643daec2a89d070e2b07bd57a38038a5 Mon Sep 17 00:00:00 2001 From: Martin Jansa martin.ja...@gmail.com Date: Wed, 1 Feb 2012 19:10:40 +0100 Subject: [PATCH] python-elementary: fix description of keyboard_win_set method and add getters Signed-off-by: Martin Jansa martin.ja...@gmail.com --- .../elementary/elementary.c_elementary_window.pxi | 22 --- .../include/elementary/c_elementary.pxd|2 + 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi b/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi index da3039d..87a46ed 100644 --- a/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi +++ b/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi @@ -309,20 +309,34 @@ cdef class Window(Object):