e_client/e_policy_wl: add log for debugging 96/239696/1 accepted/tizen/5.5/unified/20200729.230655 submit/tizen_5.5/20200729.055026
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 29 Jul 2020 04:05:03 +0000 (13:05 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 29 Jul 2020 04:52:54 +0000 (13:52 +0900)
Change-Id: I81e89c70ba3a9b2ba1d855c8d5d35a69437888c9

src/bin/e_client.c
src/bin/e_policy_wl.c

index 50296017de6c43f24dedfd678fa423f751df2b43..b052df2e6ab1627d446b0f7501516f3d91e52c6c 100644 (file)
@@ -3438,13 +3438,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", ec, ec->argb, ec->visibility.opaque, ec_frame_visible);
+                       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);
                     }
                   else
                     {
                        if (!is_above_rot_pending)
                          is_vis_on_skip = EINA_TRUE;
-                       ELOGF("POL_VIS", "CLIENT VIS ON-SKIP. argb:%d, opaque:%2d, frame_v:%d", ec, ec->argb, ec->visibility.opaque, ec_frame_visible);
+                       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);
                     }
                }
 
@@ -4357,7 +4357,7 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
    e_comp->clients = eina_list_append(e_comp->clients, ec);
    eina_hash_add(clients_hash[e_pixmap_type_get(cp)], &ec->pixmap, ec);
 
-   ELOGF("COMP", "CLIENT ADD. cp:%p, argb:%d", ec, cp, ec->argb);
+   ELOGF("COMP", "CLIENT ADD. cp:%p, argb:%d, internal:%d", ec, cp, ec->argb, internal);
    if (!ec->ignored)
      _e_client_event_add(ec);
    e_comp_object_client_add(ec);
index a2ed351e3b65ca98635a8ba5efdb027fb5abd515..b71b2c7a9d3aee9ae99461ac1e1129d80345d513 100644 (file)
@@ -1242,19 +1242,20 @@ e_policy_wl_visibility_send(E_Client *ec, int vis)
                       sent_vis = -3;
                  }
 
+               if (ec->comp_data && ec->comp_data->mapped)
+                 {
+                    _launch_effect_hide(ec->netwm.pid);
+                 }
+
                ELOGF("POL_VIS",
-                     "SEND     |win:0x%08zx|res_tzvis:%8p|ver:%d|sent_vis:%d|pid:%d|title:%s, name:%s",
+                     "SEND     |win:0x%08zx|res_tzvis:%8p|ver:%d|sent_vis:%d|pid:%d|cdata:%8p|title:%s, name:%s",
                      ec,
                      win,
                      res_tzvis,
                      ver,
                      sent_vis,
-                     ec->netwm.pid, ec->icccm.title, ec->netwm.name);
+                     ec->netwm.pid, ec->comp_data, ec->icccm.title, ec->netwm.name);
                sent = EINA_TRUE;
-               if (ec->comp_data->mapped)
-                 {
-                    _launch_effect_hide(ec->netwm.pid);
-                 }
             }
        }
    eina_iterator_free(it);
@@ -6565,6 +6566,8 @@ _tzlaunch_effect_iface_cb_create_splash_img(struct wl_client *client, struct wl_
    plaunch_splash = _tzlaunch_splash_add(res_tzlaunch_effect, res_tzlaunch_splash);
    EINA_SAFETY_ON_NULL_GOTO(plaunch_splash, err);
 
+   ELOGF("TZPOL", "Launchscreen effect create splash img. res_tzlaunch_effect:%p, res_tzlaunch_splash:%p", plaunch_splash->ec, res_tzlaunch_effect, res_tzlaunch_splash);
+
    wl_resource_set_implementation(res_tzlaunch_splash,
                                   &_tzlaunch_splash_iface,
                                   plaunch_splash,