Modified to hide candidate window when WILL_HIDE ack received 73/17573/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 24 Sep 2013 15:09:59 +0000 (00:09 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 02:32:16 +0000 (11:32 +0900)
Change-Id: I84fe9bd1c478a0a1e37539cc82b1ae95c37120e3

ism/extras/efl_panel/isf_panel_efl.cpp

index 6d3c07c..84aa804 100644 (file)
@@ -3792,6 +3792,12 @@ static void slot_will_hide_ack (void)
         ui_candidate_hide (true, false);
     }
 
+    /* WILL_HIDE_ACK means that the application finished redrawing the autoscroll area,
+       now hide the candidate window right away if it is also in WILL_HIDE state */
+    if (_candidate_state == WINDOW_STATE_WILL_HIDE) {
+        candidate_window_hide ();
+    }
+
     if (_off_prepare_done_timer) {
         ecore_timer_del(_off_prepare_done_timer);
         _off_prepare_done_timer = NULL;