elm_widget: do not check for the visibility
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Thu, 20 Jul 2017 10:00:13 +0000 (12:00 +0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Thu, 20 Jul 2017 10:00:13 +0000 (12:00 +0200)
it seems like the visibility is evalulated from different parent
relations, Just because the box (that is a container of a element) is
not visible, does not mean that the element in it is also not visible,
this somehow comes back to the box beeing deleted, the children beeing
reparented in evas, but not in elm. This is for now just a quickfix,
since those calls are just for optimization.

This fixes a load of errors once the elm_test window is closed

@fix

src/lib/elementary/elm_widget.c

index 4e9a3a7..bf2d91d 100644 (file)
@@ -323,10 +323,6 @@ _focus_state_eval(Eo *obj, Elm_Widget_Smart_Data *pd)
 
         if (_tree_disabled(obj))
           should = EINA_FALSE;
-
-        if (!evas_object_visible_get(obj))
-          should = EINA_FALSE;
-
      }
 
    if ( //check if we have changed the manager