From 8c04cd405cf73084cb2a5936ac08ca6e86e47735 Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Wed, 20 May 2020 14:59:54 +0900 Subject: [PATCH] elm_entry: do not execute entry theme apply before finalized theme apply is called in layout's finalize function. therefore, entry theme apply is called during finalize. for performance, it is fixed not to execute entry theme apply before finalized. @tizen_only Change-Id: I222de8020fb90cdcbefce9eadbe2e93c43b2b074 Signed-off-by: Bowon Ryu --- src/lib/elementary/elm_entry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c index 66ade0e..eda3233 100644 --- a/src/lib/elementary/elm_entry.c +++ b/src/lib/elementary/elm_entry.c @@ -1248,6 +1248,10 @@ _elm_entry_efl_ui_widget_theme_apply(Eo *obj, Elm_Entry_Data *sd) theme_apply = efl_ui_widget_theme_apply(efl_cast(obj, EFL_UI_WIDGET_CLASS)); if (theme_apply == EFL_UI_THEME_APPLY_ERROR_GENERIC) return EFL_UI_THEME_APPLY_ERROR_GENERIC; + // TIZEN_ONLY(20200520): do not execute theme apply before finalized for performance + if (!efl_finalized_get(obj)) return theme_apply; + // + evas_event_freeze(evas_object_evas_get(obj)); /**************************************************************************************************** -- 2.7.4