bu5hm4n pushed a commit to branch master.

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

commit dcedaf8e09a9e163d4d4128373ec9c8db29c8da0
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Mon Sep 18 14:21:38 2017 +0200

    elm_widget: also update if visible set is intersected
    
    the error case is when a element is shown, but its parent was not.
    In that case intersect returns immidiatly, without evalulating the focus
    state again.
---
 src/lib/elementary/elm_widget.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index f612521f44..617b6dc0ef 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -864,12 +864,16 @@ _elm_widget_efl_gfx_visible_set(Eo *obj, 
Elm_Widget_Smart_Data *pd, Eina_Bool vi
    Evas_Object *o;
 
    if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_VISIBLE, 0, 
vis))
-     return;
+     {
+        _full_eval(obj, pd);
+        return;
+     }
 
    efl_gfx_visible_set(efl_super(obj, MY_CLASS), vis);
 
    _full_eval(obj, pd);
 
+
    it = evas_object_smart_iterator_new(obj);
    EINA_ITERATOR_FOREACH(it, o)
      {

-- 


Reply via email to