From dcedaf8e09a9e163d4d4128373ec9c8db29c8da0 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 18 Sep 2017 14:21:38 +0200 Subject: [PATCH] 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) {