From: Jihoon Kim Date: Wed, 23 Jul 2014 08:52:20 +0000 (+0900) Subject: Fix bug some characters aren't inputted X-Git-Tag: submit/tizen/20150128.083920~138 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29ecdcfe98ff11b1d91025b49d78fd2b7f024fa8;p=platform%2Fcore%2Fuifw%2Fisf.git Fix bug some characters aren't inputted [model] Kiran, Higgs [binary_type] PDA [customer] OPEN [issue#] N/A [problem] some characters aren'ts inputted [cause] bug of logic to check key event [solution] Fix logic to check key event [team] Input Framework [request] N/A [horizontal_expansion] N/A Change-Id: I8c595b3b37dc02d3b7b560592ac3e68fd948a092 --- diff --git a/ism/extras/efl_immodule/isf_imf_context.cpp b/ism/extras/efl_immodule/isf_imf_context.cpp index 1e2c7d8..d78ea9a 100644 --- a/ism/extras/efl_immodule/isf_imf_context.cpp +++ b/ism/extras/efl_immodule/isf_imf_context.cpp @@ -2307,8 +2307,10 @@ feed_key_event (EcoreIMFContextISF *ic, const KeyEvent &key, bool fake) { SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; - String keyname; - if (scim_key_to_string (keyname, key)){ + if (key.code <= 0x7F || + (key.code >= SCIM_KEY_BackSpace && key.code <= SCIM_KEY_Delete) || + (key.code >= SCIM_KEY_Home && key.code <= SCIM_KEY_Hyper_R)) { + // ascii code and function keys send_x_key_event (key, fake); return EINA_TRUE; } else {