From: InHong Han Date: Tue, 4 Sep 2018 05:16:56 +0000 (+0900) Subject: Fix issue that IME restarts automatically when the focus is changed X-Git-Tag: accepted/tizen/5.0/unified/20181102.023431~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F188341%2F5;p=platform%2Fcore%2Fuifw%2Fisf.git Fix issue that IME restarts automatically when the focus is changed Change-Id: I4d51dc056e3c13efeeb140cb83f605dc4dfd5bb0 --- diff --git a/ism/extras/efl_panel/isf_panel_efl.cpp b/ism/extras/efl_panel/isf_panel_efl.cpp index 9a156bf..aba7af4 100644 --- a/ism/extras/efl_panel/isf_panel_efl.cpp +++ b/ism/extras/efl_panel/isf_panel_efl.cpp @@ -6513,18 +6513,15 @@ static void slot_stop_default_ise (void) { SCIM_DEBUG_MAIN (3) << __FUNCTION__ << "...\n"; - if (_soft_keyboard_launched) { - if (_launch_ise_on_request && _auto_destroy_ise) { - String uuid = _info_manager->get_current_helper_uuid (); - - if (uuid.length () > 0) { - _info_manager->hide_helper (uuid); - _info_manager->stop_helper (uuid); - _soft_keyboard_launched = false; - LOGD ("stop helper (%s)", uuid.c_str ()); - } + if (_launch_ise_on_request && _auto_destroy_ise && _soft_keyboard_launched) { + String uuid = _info_manager->get_current_helper_uuid (); + + if (uuid.length () > 0) { + _info_manager->hide_helper (uuid); + _info_manager->stop_helper (uuid); + _soft_keyboard_launched = false; + LOGD ("stop helper (%s)", uuid.c_str ()); } - _soft_keyboard_launched = false; } }