bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=344a049ddb605b08f65f0329c7488f7d71971573

commit 344a049ddb605b08f65f0329c7488f7d71971573
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Thu Jul 20 12:00:13 2017 +0200

    elm_widget: do not check for the visibility
    
    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 | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 4e9a3a72f0..bf2d91d8a2 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -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

-- 


Reply via email to