From 1511470127d038a3c00c711a3eab076e3e73ff89 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Tue, 3 Sep 2019 10:23:29 +0200 Subject: [PATCH] efl_ui_position_manager_list: set visibilitly more often it is possible that the object returned by the batching call is NULL. That is valid, however, if the batching call for the visibility is getting the NULL element, but the placement is getting the none NULL element, then the item on screen will not be visible. This commit ensures that those items will be visible. Co-authored-by: Mike Blumenkrantz Reviewed-by: Mike Blumenkrantz Differential Revision: https://phab.enlightenment.org/D9822 --- src/lib/elementary/efl_ui_position_manager_list.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_position_manager_list.c b/src/lib/elementary/efl_ui_position_manager_list.c index 603c60b58a..40524ea681 100644 --- a/src/lib/elementary/efl_ui_position_manager_list.c +++ b/src/lib/elementary/efl_ui_position_manager_list.c @@ -237,7 +237,10 @@ _position_items(Eo *obj EINA_UNUSED, Efl_Ui_Position_Manager_List_Data *pd, Vis_ } if (ent) - efl_gfx_entity_geometry_set(ent, geom); + { + efl_gfx_entity_visible_set(ent, EINA_TRUE); + efl_gfx_entity_geometry_set(ent, geom); + } if (pd->dir == EFL_UI_LAYOUT_ORIENTATION_VERTICAL) geom.y += size.h; else