Add warning log in WL_TEXTINPUT 23/108823/3
authorInHong Han <inhong1.han@samsung.com>
Fri, 6 Jan 2017 02:12:22 +0000 (11:12 +0900)
committerInHong Han <inhong1.han@samsung.com>
Mon, 9 Jan 2017 04:52:45 +0000 (13:52 +0900)
Change-Id: I442d3b0d871819ebf45ffa6feaa8e5a6cae898fe

src/e_mod_input_panel.c
src/e_mod_main.c

index cd20fe6..83b3552 100644 (file)
@@ -9,6 +9,8 @@
 #endif
 #define LOG_TAG "WL_TEXTINPUT"
 
+#define WTI_WARNING(resource, code, msg)     (_e_input_panel_log_show((resource), (code), (msg), __func__))
+
 typedef struct _E_Input_Panel E_Input_Panel;
 typedef struct _E_Input_Panel_Surface E_Input_Panel_Surface;
 
@@ -47,6 +49,13 @@ E_Input_Panel *g_input_panel = NULL;
 Eina_List *handlers = NULL;
 static Eina_Bool panel_show_need_rerun = EINA_FALSE;
 
+static void
+_e_input_panel_log_show(struct wl_resource *resource, uint32_t code, const char *msg, const char *warning_msg)
+{
+   LOGW("%s() is failed\n", warning_msg);
+   wl_resource_post_error(resource, code, "%s", msg);
+}
+
 static Eina_Bool
 _e_input_panel_is_effect_running(E_Client *ec)
 {
@@ -77,9 +86,9 @@ _e_input_panel_surface_cb_toplevel_set(struct wl_client *client EINA_UNUSED, str
 
    if (!ips)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Panel Surface For Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel Surface For Surface");
         return;
      }
 
@@ -97,9 +106,9 @@ _e_input_panel_surface_cb_overlay_panel_set(struct wl_client *client EINA_UNUSED
 
    if (!ips)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Panel Surface For Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel Surface For Surface");
         return;
      }
 
@@ -118,9 +127,9 @@ _e_input_panel_surface_cb_ready_set(struct wl_client *client EINA_UNUSED, struct
 
    if (!ips)
      {
-        wl_resource_post_error(resource,
-            WL_DISPLAY_ERROR_INVALID_OBJECT,
-            "No Input Panel Surface For Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel Surface For Surface");
         return;
      }
 
@@ -147,9 +156,9 @@ _e_input_panel_surface_resource_destroy(struct wl_resource *resource)
 
    if (!ips)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Panel Surface For Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel Surface For Surface");
         return;
      }
 
@@ -325,17 +334,17 @@ _e_input_panel_surface_configure(struct wl_resource *resource, Evas_Coord x EINA
 
    if (!(ips = wl_resource_get_user_data(resource)))
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Panel Surface For Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel Surface For Surface");
         return;
      }
 
    if (!(ec = ips->ec))
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Client For Input Panel Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Client For Input Panel Surface");
         return;
      }
 
@@ -353,25 +362,25 @@ _e_input_panel_surface_map(struct wl_resource *resource)
 
    if (!(ips = wl_resource_get_user_data(resource)))
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Panel Surface For Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel Surface For Surface");
         return;
      }
 
    if (!(ec = ips->ec))
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Client For Input Panel Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Client For Input Panel Surface");
         return;
      }
 
    if (!ec->comp_data)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Data For Client");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Data For Client");
         return;
      }
 
@@ -388,25 +397,25 @@ _e_input_panel_surface_unmap(struct wl_resource *resource)
 
    if (!(ips = wl_resource_get_user_data(resource)))
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Panel Surface For Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel Surface For Surface");
         return;
      }
 
    if (!(ec = ips->ec))
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Client For Input Panel Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Client For Input Panel Surface");
         return;
      }
 
    if (!ec->comp_data)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Data For Client");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Data For Client");
         return;
      }
 
@@ -463,17 +472,17 @@ _e_input_panel_cb_surface_get(struct wl_client *client, struct wl_resource *reso
 
    if (!input_panel)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Panel Surface For Surface");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel Surface For Surface");
         return;
      }
 
    if (!ec)
      {
-        wl_resource_post_error(surface_resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No E_Client Set On Surface");
+        WTI_WARNING(surface_resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No E_Client Set On Surface");
         return;
      }
 
@@ -482,18 +491,18 @@ _e_input_panel_cb_surface_get(struct wl_client *client, struct wl_resource *reso
 
    if (!(cdata = ec->comp_data))
      {
-        wl_resource_post_error(surface_resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Data For Client");
+        WTI_WARNING(surface_resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Data For Client");
         return;
      }
 
    /* check for existing shell surface */
    if (cdata->shell.surface)
      {
-        wl_resource_post_error(surface_resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "Client already has shell surface");
+        WTI_WARNING(surface_resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "Client already has shell surface");
         return;
      }
 
@@ -567,9 +576,9 @@ _e_input_panel_unbind(struct wl_resource *resource)
 
    if (!input_panel)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Panel For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Panel For Resource");
         return;
      }
 
@@ -615,8 +624,9 @@ _e_input_panel_bind(struct wl_client *client, void *data, uint32_t version EINA_
         return;
      }
 
-   wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
-                          "input_panel object already bound");
+   WTI_WARNING(resource,
+               WL_DISPLAY_ERROR_INVALID_OBJECT,
+               "input_panel object already bound");
 }
 
 void
index b8a5f1e..b739048 100644 (file)
@@ -14,6 +14,8 @@
 #endif
 #define LOG_TAG "WL_TEXTINPUT"
 
+#define WTI_WARNING(resource, code, msg)     (_e_text_input_log_show((resource), (code), (msg), __func__))
+
 static Eina_Bool _e_text_input_method_context_cb_client_resize(void *data EINA_UNUSED, int type, void *event);
 static void set_soft_keyboard_mode();
 
@@ -132,6 +134,13 @@ static void _e_text_input_deactivate(E_Text_Input *text_input, E_Input_Method *i
 static Eina_Bool _e_text_input_method_create_context(struct wl_client *client, E_Input_Method *input_method, E_Text_Input *text_input);
 
 static void
+_e_text_input_log_show(struct wl_resource *resource, uint32_t code, const char *msg, const char *warning_msg)
+{
+   LOGW("%s() is failed\n", warning_msg);
+   wl_resource_post_error(resource, code, "%s", msg);
+}
+
+static void
 _e_text_input_send_input_panel_geometry(struct wl_resource *resource, int x, int y, int w, int h)
 {
    int angle = 0;
@@ -194,9 +203,9 @@ _input_panel_hide(struct wl_client *client, struct wl_resource *resource, Eina_B
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -480,9 +489,9 @@ _e_text_input_method_context_cb_string_commit(struct wl_client *client EINA_UNUS
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -498,9 +507,9 @@ _e_text_input_method_context_cb_preedit_string(struct wl_client *client EINA_UNU
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -516,9 +525,9 @@ _e_text_input_method_context_cb_preedit_styling(struct wl_client *client EINA_UN
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -534,9 +543,9 @@ _e_text_input_method_context_cb_preedit_cursor(struct wl_client *client EINA_UNU
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -552,9 +561,9 @@ _e_text_input_method_context_cb_surrounding_text_delete(struct wl_client *client
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -570,9 +579,9 @@ _e_text_input_method_context_cb_cursor_position(struct wl_client *client EINA_UN
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -588,9 +597,9 @@ _e_text_input_method_context_cb_modifiers_map(struct wl_client *client EINA_UNUS
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -605,9 +614,9 @@ _e_text_input_method_context_cb_keysym(struct wl_client *client EINA_UNUSED, str
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -635,9 +644,9 @@ _e_text_input_method_context_keyboard_grab_cb_keyboard_unbind(struct wl_resource
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -657,9 +666,9 @@ _e_text_input_method_context_cb_keyboard_grab(struct wl_client *client, struct w
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -716,9 +725,9 @@ _e_text_input_method_context_cb_language(struct wl_client *client EINA_UNUSED, s
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -734,9 +743,9 @@ _e_text_input_method_context_cb_text_direction(struct wl_client *client EINA_UNU
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -752,9 +761,9 @@ _e_text_input_method_context_cb_selection_region(struct wl_client *client EINA_U
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -770,9 +779,9 @@ _e_text_input_method_context_cb_private_command(struct wl_client *client EINA_UN
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -788,9 +797,9 @@ _e_text_input_method_context_cb_input_panel_data_update(struct wl_client *client
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -807,9 +816,9 @@ _e_text_input_method_context_cb_hide_input_panel(struct wl_client *client EINA_U
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -832,9 +841,9 @@ _e_text_input_method_context_cb_get_selection_text(struct wl_client *client EINA
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         close (fd);
         return;
      }
@@ -853,9 +862,9 @@ _e_text_input_method_context_cb_get_surrounding_text(struct wl_client *client EI
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         close (fd);
         return;
      }
@@ -874,9 +883,9 @@ _e_text_input_method_context_cb_filter_key_event_done(struct wl_client *client E
 
     if (!context)
       {
-         wl_resource_post_error(resource,
-                                WL_DISPLAY_ERROR_INVALID_OBJECT,
-                                "No Input Method Context For Resource");
+         WTI_WARNING(resource,
+                     WL_DISPLAY_ERROR_INVALID_OBJECT,
+                     "No Input Method Context For Resource");
          return;
       }
 
@@ -916,9 +925,9 @@ _e_text_input_method_context_cb_resource_destroy(struct wl_resource *resource)
 
    if (!context)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method Context For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method Context For Resource");
         return;
      }
 
@@ -1103,13 +1112,14 @@ _e_text_input_cb_activate(struct wl_client *client, struct wl_resource *resource
 
 err:
    if (resource)
-     wl_resource_post_error(resource,
-                            WL_DISPLAY_ERROR_INVALID_OBJECT,
-                            "No Text Input For Resource");
+     WTI_WARNING(resource,
+                 WL_DISPLAY_ERROR_INVALID_OBJECT,
+                 "No Text Input For Resource");
+
    if (seat)
-     wl_resource_post_error(seat,
-                            WL_DISPLAY_ERROR_INVALID_OBJECT,
-                            "No Comp Data For Seat");
+     WTI_WARNING(seat,
+                 WL_DISPLAY_ERROR_INVALID_OBJECT,
+                 "No Comp Data For Seat");
 }
 
 static void
@@ -1120,9 +1130,9 @@ _e_text_input_cb_deactivate(struct wl_client *client EINA_UNUSED, struct wl_reso
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1138,9 +1148,9 @@ _e_text_input_cb_deactivate(struct wl_client *client EINA_UNUSED, struct wl_reso
 
    if (!input_method)
      {
-        wl_resource_post_error(seat,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method For Seat");
+        WTI_WARNING(seat,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method For Seat");
         return;
      }
 
@@ -1189,14 +1199,15 @@ _e_text_input_method_create_context(struct wl_client *client, E_Input_Method *in
 static void
 _e_text_input_cb_input_panel_show(struct wl_client *client, struct wl_resource *resource)
 {
+   LOGD("");
    E_Text_Input *text_input = wl_resource_get_user_data(resource);
    E_Input_Method *input_method = NULL;
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1270,9 +1281,9 @@ _e_text_input_cb_reset(struct wl_client *client EINA_UNUSED, struct wl_resource
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1293,9 +1304,9 @@ _e_text_input_cb_content_type_set(struct wl_client *client EINA_UNUSED, struct w
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1316,9 +1327,9 @@ _e_text_input_cb_cursor_rectangle_set(struct wl_client *client EINA_UNUSED, stru
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1334,9 +1345,9 @@ _e_text_input_cb_preferred_language_set(struct wl_client *client EINA_UNUSED, st
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1359,9 +1370,9 @@ _e_text_input_cb_state_commit(struct wl_client *client EINA_UNUSED, struct wl_re
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1383,9 +1394,9 @@ _e_text_input_cb_action_invoke(struct wl_client *client EINA_UNUSED, struct wl_r
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1408,9 +1419,9 @@ _e_text_input_cb_return_key_type_set(struct wl_client *client EINA_UNUSED, struc
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1433,9 +1444,9 @@ _e_text_input_cb_return_key_disabled_set(struct wl_client *client EINA_UNUSED, s
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1458,9 +1469,9 @@ _e_text_input_cb_input_panel_data_set(struct wl_client *client EINA_UNUSED, stru
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1501,9 +1512,9 @@ _e_text_input_cb_bidi_direction_set(struct wl_client *client EINA_UNUSED, struct
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1526,9 +1537,9 @@ _e_text_input_cb_cursor_position_set(struct wl_client *client EINA_UNUSED, struc
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1550,9 +1561,9 @@ _e_text_input_cb_process_input_device_event(struct wl_client *client EINA_UNUSED
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1577,9 +1588,9 @@ _e_text_input_cb_filter_key_event(struct wl_client *client EINA_UNUSED, struct w
 
   if (!text_input)
     {
-       wl_resource_post_error(resource,
-                              WL_DISPLAY_ERROR_INVALID_OBJECT,
-                              "No Text Input For Resource");
+       WTI_WARNING(resource,
+                   WL_DISPLAY_ERROR_INVALID_OBJECT,
+                   "No Text Input For Resource");
        return;
     }
 
@@ -1602,9 +1613,9 @@ _e_text_input_cb_get_hide_permission(struct wl_client *client EINA_UNUSED, struc
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1639,9 +1650,9 @@ _e_text_input_cb_set_capital_mode(struct wl_client *client EINA_UNUSED, struct w
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1661,9 +1672,9 @@ _e_text_input_cb_resource_destroy(struct wl_resource *resource)
 
    if (!text_input)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input For Resource");
         return;
      }
 
@@ -1731,9 +1742,9 @@ _e_text_input_manager_cb_text_input_create(struct wl_client *client, struct wl_r
 
    if (!text_input_mgr)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Text Input Manager For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Text Input Manager For Resource");
         return;
      }
 
@@ -1783,13 +1794,14 @@ _e_text_cb_bind_text_input_manager(struct wl_client *client, void *data, uint32_
 static void
 _e_text_input_method_cb_unbind(struct wl_resource *resource)
 {
+   LOGD("");
    E_Input_Method *input_method = wl_resource_get_user_data(resource);
 
    if (!input_method)
      {
-        wl_resource_post_error(resource,
-                               WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "No Input Method For Resource");
+        WTI_WARNING(resource,
+                    WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "No Input Method For Resource");
         return;
      }
 
@@ -1805,6 +1817,7 @@ _e_text_input_method_cb_unbind(struct wl_resource *resource)
 static void
 _e_text_input_method_cb_bind(struct wl_client *client, void *data, uint32_t version EINA_UNUSED, uint32_t id)
 {
+   LOGD("");
    E_Input_Method *input_method = data;
    struct wl_resource *resource = NULL;
 
@@ -1815,8 +1828,8 @@ _e_text_input_method_cb_bind(struct wl_client *client, void *data, uint32_t vers
 
    if (input_method->resource)
      {
-        wl_resource_post_error(input_method->resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
-                               "input_method object already bound");
+        WTI_WARNING(input_method->resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
+                    "input_method object already bound");
         return;
      }