e_comp_object: add log for intercept hide 87/228487/1
authorJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 23 Mar 2020 18:30:38 +0000 (03:30 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 23 Mar 2020 09:36:00 +0000 (09:36 +0000)
Change-Id: I411a1e19597c7fd0ade87b5f4c45c47fef5f9053

src/bin/e_comp_object.c

index 64369661b9dd72d068c3e056bebb766da16a7a30..7d5ef6ad268fbbd151727335acd0199b07dbd738 100644 (file)
@@ -2106,7 +2106,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)
@@ -2129,7 +2133,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;
@@ -2140,6 +2148,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