From 18fd4c687746390fabfb3a96b051b362cd9dcc56 Mon Sep 17 00:00:00 2001 From: Juyeon Lee Date: Tue, 24 Mar 2020 03:30:38 +0900 Subject: [PATCH] e_comp_object: add log for intercept hide Change-Id: I411a1e19597c7fd0ade87b5f4c45c47fef5f9053 --- src/bin/e_comp_object.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index bf48150127..e7398f19a8 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -2137,7 +2137,11 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj) E_Comp_Object *cw = data; #ifdef _F_E_COMP_OBJECT_INTERCEPT_HOOK_ - if( !_e_comp_object_intercept_hook_call(E_COMP_OBJECT_INTERCEPT_HOOK_HIDE, cw->ec)) return; + if( !_e_comp_object_intercept_hook_call(E_COMP_OBJECT_INTERCEPT_HOOK_HIDE, cw->ec)) + { + ELOGF("COMP", "Hide. intercepted", cw->ec); + return; + } #endif if (cw->ec->launching == EINA_TRUE) @@ -2160,7 +2164,11 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj) return; } /* already hidden or currently animating */ - if ((!cw->visible) || (cw->animating && cw->hiding && (!cw->ec->iconic))) return; + if ((!cw->visible) || (cw->animating && cw->hiding && (!cw->ec->iconic))) + { + ELOGF("COMP", "Hide. but already hidden or currently animating", cw->ec); + return; + } /* don't try hiding during shutdown */ cw->defer_hide |= stopping; @@ -2171,6 +2179,8 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj) cw->ec->delete_requested = 0; if ((!cw->animating) || (!cw->hiding) || cw->ec->iconic) { + ELOGF("COMP", "Hide. but after iconify or hide animation", cw->ec); + if (cw->ec->iconic) e_comp_object_signal_emit(obj, "e,action,iconify", "e"); else -- 2.34.1