e_client/e_comp_object: add log for debug information 42/253742/5 submit/tizen_6.0/20210218.035857
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 17 Feb 2021 07:08:44 +0000 (16:08 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 17 Feb 2021 08:03:47 +0000 (08:03 +0000)
Change-Id: I2762051347de1b6f01e25af0fe6bd23bf2fae29d

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

index 65916b241f6698bbad586f41a45efcb362c5d951..797279d3ad139d3fa874442eda80c8bd7d4b9c51 100644 (file)
@@ -3471,13 +3471,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);
                     }
                }
 
@@ -3522,9 +3522,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);
                     }
                }
           }
@@ -6236,7 +6236,7 @@ e_client_uniconify(E_Client *ec)
      {
         if (ec->comp_data && ec->comp_data->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 313c44ffa516fa871af89f23c4055594277b8488..d4f236eed5f5e80edbcd019c92a96e788ca8fc35 100644 (file)
@@ -2246,6 +2246,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;
      }
@@ -2253,6 +2254,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;
      }
@@ -2272,7 +2274,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, cw->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");
@@ -2292,6 +2295,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);
 }
 
@@ -2592,6 +2596,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);