Page MenuHomePhabricator

elm list calls _items_fix() during canvas deletion
Closed, ResolvedPublic

Description

This can be seen in any of the list tests during make check.

zmike created this task.Apr 11 2018, 2:09 PM
zmike added a comment.Apr 11 2018, 2:13 PM
diff --git a/src/lib/elementary/elm_list.c b/src/lib/elementary/elm_list.c
index 4ad9e2405e..57b49d9089 100644
--- a/src/lib/elementary/elm_list.c
+++ b/src/lib/elementary/elm_list.c
@@ -1309,7 +1309,7 @@ _elm_list_efl_ui_widget_widget_sub_object_del(Eo *obj, Elm_List_Data *sd, Evas_O
              evas_object_event_callback_del_full
                (sobj, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _size_hints_changed_cb,
                obj);
-             if (!sd->walking)
+             if (!sd->walking && efl_parent_get(obj))
                {
                   _items_fix(obj);
                   elm_layout_sizing_eval(obj);

I'm currently using this locally to suppress errors but probably there are better solutions.

zmike closed this task as Resolved.Jun 7 2018, 9:23 AM
zmike claimed this task.