e_client/e_comp_object: add log for debug information 44/253744/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 17 Feb 2021 07:13:45 +0000 (16:13 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 17 Feb 2021 07:48:42 +0000 (16:48 +0900)
Change-Id: I569390da409c065faecbe1fe6a600dd2c75a1b3a

src/bin/e_client.c
src/bin/e_comp_object.c

index c2f6e81e40b53a40abc53686978bcd38be88ec22..9674ba68dcb7ae82e83fb3a8b439a8edbed7c23b 100644 (file)
@@ -3483,13 +3483,13 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
                        /* previous state is obscured: -1 or 1 */
                        ec->visibility.obscured = E_VISIBILITY_UNOBSCURED;
                        ec->visibility.changed = 1;
-                       ELOGF("POL_VIS", "CLIENT VIS ON.  argb:%d, opaque:%2d, frame_v:%d, cdata:%p", ec, ec->argb, ec->visibility.opaque, ec_frame_visible, cdata);
+                       ELOGF("POL_VIS", "CLIENT VIS ON.  argb:%d, opaque:%2d, frame_v:%d, cdata:%p, geo(%d,%d,%dx%d)", ec, ec->argb, ec->visibility.opaque, ec_frame_visible, cdata, x, y, w, h);
                     }
                   else
                     {
                        if (!is_above_show_pending)
                          is_vis_on_skip = EINA_TRUE;
-                       ELOGF("POL_VIS", "CLIENT VIS ON-SKIP. argb:%d, opaque:%2d, frame_v:%d, cdata:%p", ec, ec->argb, ec->visibility.opaque, ec_frame_visible, cdata);
+                       ELOGF("POL_VIS", "CLIENT VIS ON-SKIP. argb:%d, opaque:%2d, frame_v:%d, cdata:%p, geo(%d,%d,%dx%d)", ec, ec->argb, ec->visibility.opaque, ec_frame_visible, cdata, x, y, w, h);
                     }
                }
 
@@ -3534,9 +3534,9 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
                        /* previous state is unobscured: -1 or 0 */
                        ec->visibility.obscured = E_VISIBILITY_FULLY_OBSCURED;
                        ec->visibility.changed = 1;
-                       ELOGF("POL_VIS", "CLIENT VIS OFF. argb:%d, opaque:%2d, frame_v:%d, canvas_v:%d, calc_r:%d(%d), show_p:%d",
-                              ec, ec->argb, ec->visibility.opaque,
-                              ec_frame_visible, canvas_vis, calc_region, calc_skip_type, skip_by_pending_show);
+                       ELOGF("POL_VIS", "CLIENT VIS OFF. argb:%d, opaque:%2d, frame_v:%d, canvas_v:%d, calc_r:%d(%d), show_p:%d, geo(%d,%d,%dx%d)",
+                             ec, ec->argb, ec->visibility.opaque,
+                             ec_frame_visible, canvas_vis, calc_region, calc_skip_type, skip_by_pending_show, x, y, w, h);
                     }
                }
           }
@@ -6257,7 +6257,7 @@ e_client_uniconify(E_Client *ec)
      {
         if (cdata && cdata->mapped)
           {
-             ELOGF("TZVIS", "UNICONIFY|object show", ec);
+             ELOGF("TZVIS", "UNICONIFY|object show. frame_visible:%d", ec, evas_object_visible_get(ec->frame));
              evas_object_show(ec->frame);
           }
         else
index 324161ea822cc117c6289e50d452e9b6c37c35d8..5daccba2a8d03d46d154b808279343ab14ec9568 100644 (file)
@@ -2263,6 +2263,7 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj)
    if (cw->ec->hidden)
      {
         /* hidden flag = just do it */
+        ELOGF("COMP", "Hide hidden evas_object:%p", cw->ec, obj);
         evas_object_hide(obj);
         return;
      }
@@ -2270,6 +2271,7 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj)
    if (cw->ec->input_only)
      {
         /* input_only = who cares */
+        ELOGF("COMP", "Hide input_only evas_object:%p", cw->ec, obj);
         evas_object_hide(obj);
         return;
      }
@@ -2289,7 +2291,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);
+             ELOGF("COMP", "Hide. but after iconify or hide animation, cw->animating:%d, cd->hiding:%d, iconic:%d",
+                   cw->ec, cw->animating, cw->hiding, cw->ec->iconic);
 
              if (cw->ec->iconic)
                e_comp_object_signal_emit(obj, "e,action,iconify", "e");
@@ -2309,6 +2312,7 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj)
    if (cw->animating) return;
    /* if we have no animations running, go ahead and hide */
    cw->defer_hide = 0;
+   ELOGF("COMP", "Hide normal object:%p", cw->ec, obj);
    evas_object_hide(obj);
 }
 
@@ -2609,6 +2613,7 @@ _e_comp_intercept_focus(void *data, Evas_Object *obj, Eina_Bool focus)
              if (!e_policy_visibility_client_is_uniconify_render_running(ec))
                {
                   /* don't focus an iconified window. that's silly! */
+                  ELOGF("FOCUS", "Do uniconify to set focus", ec);
                   e_client_uniconify(ec);
                   if (e_client_focus_track_enabled())
                     e_client_focus_latest_set(ec);