Add log to get more information 27/198927/2
authorInhong Han <inhong1.han@samsung.com>
Thu, 31 Jan 2019 06:10:52 +0000 (15:10 +0900)
committerInHong Han <inhong1.han@samsung.com>
Thu, 31 Jan 2019 06:18:09 +0000 (06:18 +0000)
Change-Id: I0151f0b57d78df23590cb3e3ef4cabcf30ba29b3

src/e_mod_input_panel.c
src/e_mod_main.c

index 5e3b90b94cde049ebc7f7f9a7895bf661b532cec..d793d9e517bb1624958734762ea9c1727edacb6d 100644 (file)
@@ -1241,12 +1241,20 @@ e_input_panel_transient_for_set(E_Client *parent)
         E_Client *child = ips->ec;
 
         if (!child) continue;
-        if (e_object_is_del(E_OBJECT(child))) continue;
+        if (e_object_is_del(E_OBJECT(child)))
+          {
+             LOGE("child is deleted");
+             continue;
+          }
 
         /* If the child already has a parent, remove it */
         if (child->parent)
           {
-             if (e_object_is_del(E_OBJECT(child->parent))) continue;
+             if (e_object_is_del(E_OBJECT(child->parent)))
+               {
+                  LOGE("child->parent is deleted");
+                  continue;
+               }
 
              LOGD("TRANSIENT_FOR::The child already has a parent : %p\n", child->parent);
              if (ec_parent != child->parent)
@@ -1333,6 +1341,7 @@ e_input_panel_floating_position_set(int x, int y)
 Eina_Bool
 e_input_panel_surface_destroy(E_Client *ec)
 {
+   LOGD("");
    E_Input_Panel_Surface *ips;
    Eina_List *l;
    Eina_List *l_next;
index 239121d1f9d6f1ee147a883d2f2b0262f1c2e487..d65338a7d47d922ded53d2d8ee89d3876a0b96f4 100644 (file)
@@ -2341,7 +2341,7 @@ _pol_cb_hook_client_del(void *d EINA_UNUSED, E_Client *ec)
         e_input_panel_transient_for_set(NULL);
 
         if(!e_input_panel_surface_destroy(ec))
-          LOGW("fail to remove surface\n");
+          LOGE("fail to remove surface\n");
 
         g_input_panel_state = E_INPUT_PANEL_STATE_DID_HIDE;
         if (g_timer_will_hide)