discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a43cb224c13bcc448fc489cc6fb30a4b53cff636
commit a43cb224c13bcc448fc489cc6fb30a4b53cff636 Author: Mike Blumenkrantz <[email protected]> Date: Tue Jun 19 13:41:44 2018 -0400 elm_list: return from sizing_eval immediately if called during constructor Summary: this is both invalid and useless, so return immediately before spending cpu time and generating error messages fix T7035 Depends on D6324 Reviewers: bu5hm4n, Hermet, woohyun, devilhorns Reviewed By: bu5hm4n Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7035 Differential Revision: https://phab.enlightenment.org/D6325 --- src/lib/elementary/elm_list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/elm_list.c b/src/lib/elementary/elm_list.c index 26617ba59c..17464df64e 100644 --- a/src/lib/elementary/elm_list.c +++ b/src/lib/elementary/elm_list.c @@ -697,6 +697,7 @@ _elm_list_elm_layout_sizing_eval(Eo *obj, Elm_List_Data *sd) double xw = 0.0, yw = 0.0; ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); + if (!efl_finalized_get(obj)) return; //not constructed yet evas_object_size_hint_combined_min_get(sd->box, &minw, &minh); evas_object_size_hint_max_get(sd->box, &maxw, &maxh); --
