From 425a04beb375051cc4154fa70c0b3dc55091f786 Mon Sep 17 00:00:00 2001 From: Taehyub Kim Date: Thu, 9 Mar 2017 16:36:20 +0900 Subject: [PATCH] popup: hides the popup when hide effect is finished Summary: When popup hides and shows fast, sometimes popup is not shown because of the difference visible value between popup and notify (case: popup visible state: 1, popup_notify visible state: 0) To sync this value I added the visible set code in elc_popup.c @fix Test Plan: 1. run elementary_text -to popup 2. shows the hide popup 3. hides popup using the hide button 4. repeat 2,3 step 5. popup will be shown well Reviewers: jpeg, cedric, Hermet, raster Subscribers: Blackmole, woohyun Differential Revision: https://phab.enlightenment.org/D4710 --- src/lib/elementary/elc_popup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c index 2e49ceb..7fa35ad 100644 --- a/src/lib/elementary/elc_popup.c +++ b/src/lib/elementary/elc_popup.c @@ -119,6 +119,7 @@ static void _hide_effect_finished_cb(void *data, const Efl_Event *event EINA_UNUSED) { efl_event_callback_legacy_call(data, ELM_POPUP_EVENT_DISMISSED, NULL); + efl_gfx_visible_set(data, EINA_FALSE); } -- 2.7.4