From: Ji-hoon Lee Date: Mon, 2 Sep 2013 13:15:46 +0000 (+0900) Subject: Modified to show candidate window without visibility checking X-Git-Tag: accepted/tizen/generic/20140310.074606~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80ff1984a2ef72f0d515ce18cacd8fb507e8976f;p=platform%2Fcore%2Fuifw%2Fisf.git Modified to show candidate window without visibility checking Change-Id: I25fdd60a81c8ec127c5ea202fe17a7b0e149137a --- diff --git a/ism/extras/efl_panel/isf_panel_efl.cpp b/ism/extras/efl_panel/isf_panel_efl.cpp index a416f55..4515a6f 100644 --- a/ism/extras/efl_panel/isf_panel_efl.cpp +++ b/ism/extras/efl_panel/isf_panel_efl.cpp @@ -1214,23 +1214,21 @@ static void ui_candidate_show (bool bSetVirtualKbd) candidate_will_hide = false; efl_set_transient_for_app_window (elm_win_xwindow_get (_candidate_window)); - if (!evas_object_visible_get (_candidate_window)) { - evas_object_show (_candidate_window); - _panel_agent->update_candidate_panel_event ((uint32)ECORE_IMF_CANDIDATE_PANEL_STATE_EVENT, (uint32)ECORE_IMF_CANDIDATE_PANEL_SHOW); - - if (_candidate_mode == FIXED_CANDIDATE_WINDOW) { - if (!_ise_show) - _panel_agent->update_input_panel_event ((uint32)ECORE_IMF_INPUT_PANEL_STATE_EVENT, (uint32)ECORE_IMF_INPUT_PANEL_STATE_SHOW); + evas_object_show (_candidate_window); + _panel_agent->update_candidate_panel_event ((uint32)ECORE_IMF_CANDIDATE_PANEL_STATE_EVENT, (uint32)ECORE_IMF_CANDIDATE_PANEL_SHOW); - if (bSetVirtualKbd) - set_keyboard_geometry_atom_info (_app_window, KEYBOARD_STATE_ON); - _panel_agent->update_input_panel_event (ECORE_IMF_INPUT_PANEL_GEOMETRY_EVENT, 0); - } + if (_candidate_mode == FIXED_CANDIDATE_WINDOW) { + if (!_ise_show) + _panel_agent->update_input_panel_event ((uint32)ECORE_IMF_INPUT_PANEL_STATE_EVENT, (uint32)ECORE_IMF_INPUT_PANEL_STATE_SHOW); - ui_candidate_delete_check_size_timer (); - _check_size_timer = ecore_timer_add (0.02, ui_candidate_check_size_timeout, NULL); + if (bSetVirtualKbd) + set_keyboard_geometry_atom_info (_app_window, KEYBOARD_STATE_ON); + _panel_agent->update_input_panel_event (ECORE_IMF_INPUT_PANEL_GEOMETRY_EVENT, 0); } + ui_candidate_delete_check_size_timer (); + _check_size_timer = ecore_timer_add (0.02, ui_candidate_check_size_timeout, NULL); + SCIM_DEBUG_MAIN (3) << " Show candidate window\n"; _candidate_window_show = true; if (_ise_show) {