Fix object dump logic for popup 79/113379/1
authorKwangyoun Kim <ky85.kim@samsung.com>
Thu, 2 Feb 2017 08:34:56 +0000 (17:34 +0900)
committerWonnam Jang <wn.jang@samsung.com>
Tue, 7 Feb 2017 08:39:48 +0000 (00:39 -0800)
Change-Id: I5b22b2ef482ed0808dffaf8a3e226e9de12ab5ea
(cherry picked from commit 3e61aa680152704e50f262981dae461f4d0e6c83)

src/vc_elm_efl_dump.c

index 59d04f3..03d4e4b 100644 (file)
@@ -326,6 +326,12 @@ _obj_tree_items_exclude_unfocusable_text(Ea_Util_Mgr *util_mgr, Evas_Object *obj
        // visible check
        if (!evas_object_is_visible_get(obj)) return;
 
+       if (evas_object_type_match(obj, "elm_popup")) {
+               if (elm_object_part_text_get(obj, "title,text")) skip_text = 1;
+               eina_list_free(ret_list);
+               find_popup = 0;
+       }
+
        if (find_popup) return;
 
        // viewport check
@@ -337,11 +343,6 @@ _obj_tree_items_exclude_unfocusable_text(Ea_Util_Mgr *util_mgr, Evas_Object *obj
        if (evas_object_clipees_get(obj)) is_clip = EINA_TRUE;
        if (is_clip) goto next;
 
-       if (evas_object_type_match(obj, "elm_popup")) {
-               if (elm_object_part_text_get(obj, "title,text")) skip_text = 1;
-               eina_list_free(ret_list);
-       }
-
        if (!strcmp(evas_object_type_get(obj), "text") || !strcmp(evas_object_type_get(obj), "textblock")) {
                if (!parent_widget_focusable && !list_type) goto next;
                if (skip_text) {