e_comp_object: add log for intercept_show_helper 36/236636/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Fri, 19 Jun 2020 03:57:37 +0000 (12:57 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Fri, 19 Jun 2020 03:57:37 +0000 (12:57 +0900)
Change-Id: Iee145804773dbdf5f38687c13c361c2cf9df3879

src/bin/e_comp_object.c

index e7398f19a8b214cb8bd7b46f16ca27aba210cf63..5d0496b7dc2ce59ed38964cbac807da77841ebdb 100644 (file)
@@ -2209,9 +2209,17 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
    int w = 0, h = 0;
 
 #ifdef _F_E_COMP_OBJECT_INTERCEPT_HOOK_
-   if (!_e_comp_object_intercept_hook_call(E_COMP_OBJECT_INTERCEPT_HOOK_SHOW_HELPER, ec)) return;
+   if (!_e_comp_object_intercept_hook_call(E_COMP_OBJECT_INTERCEPT_HOOK_SHOW_HELPER, ec))
+     {
+        ELOGF("COMP", "show_helper. intercepted", cw->ec);
+        return;
+     }
 #endif
 
+   ELOGF("COMP", "show_helper. cw(v:%d,a:%d,dh:%d,ct:%d,u:%p,s(%d,%d)), ec(i:%d(%d),o:%d,g:%d,n:%d)", ec,
+         cw->visible, cw->animating, cw->defer_hide, cw->content_type, cw->updates, cw->w, cw->h,
+         ec->iconic, ec->exp_iconify.by_client, ec->input_only, ec->ignored, ec->new_client);
+
    if (ec->sticky)
      e_comp_object_signal_emit(cw->smart_obj, "e,state,sticky", "e");
    if (cw->visible)
@@ -2222,6 +2230,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
              e_comp_object_signal_emit(cw->smart_obj, "e,action,uniconify", "e");
              cw->defer_hide = 0;
           }
+        ELOGF("COMP", "show_helper. return. already cw->visible", ec);
         return;
      }
    if (cw->content_type == E_COMP_OBJECT_CONTENT_TYPE_EXT_IMAGE ||
@@ -2235,6 +2244,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
           e_comp_object_image_filter_set(cw->smart_obj, e_comp->image_filter);
 
         cw->real_hid = 0;
+        ELOGF("COMP", "show_helper. evas_object_show!!!", ec);
         evas_object_show(cw->smart_obj);
 
         if (!ec->iconic)
@@ -2253,6 +2263,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
                ec->changes.visible = !ec->hidden;
                ec->visible = 1;
                EC_CHANGED(ec);
+               ELOGF("COMP", "show_helper. return. no pixmap size", ec);
                return;
             }
 
@@ -2262,6 +2273,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
              ec->changes.visible = !ec->hidden;
              ec->visible = 1;
              EC_CHANGED(ec);
+             ELOGF("COMP", "show_helper. return. no cw->updates", ec);
              return;
           }
      }
@@ -2273,7 +2285,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
         ec->changes.visible = !ec->hidden;
         ec->visible = 1;
         EC_CHANGED(ec);
-
+        ELOGF("COMP", "show_helper. return. new_client", ec);
         return;
      }
    if (ec->input_only)
@@ -2282,6 +2294,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
         cw->real_hid = 0;
         evas_object_move(cw->smart_obj, ec->x, ec->y);
         evas_object_resize(cw->smart_obj, ec->w, ec->h);
+        ELOGF("COMP", "show_helper. evas_object_show!!!", ec);
         evas_object_show(cw->smart_obj);
         return;
      }
@@ -2298,6 +2311,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
         /* if resize didn't go through, try again */
         ec->visible = ec->changes.visible = 1;
         EC_CHANGED(ec);
+        ELOGF("COMP", "show_helper. return. cw_size(%d,%d)", ec, cw->w, cw->h);
         return;
      }
    /* if pixmap not available, clear pixmap since we're going to fetch it again */
@@ -2322,6 +2336,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
         if (!ec->exp_iconify.by_client ||
             e_policy_visibility_client_is_uniconic(ec))
           {
+             ELOGF("COMP", "show_helper. evas_object_show!!!", ec);
              evas_object_show(cw->smart_obj);
              if (!ec->iconic ||
                  e_policy_visibility_client_is_uniconic(ec))