From bc2fe6bb778b559e6c88f836d8cbdfb631b193b4 Mon Sep 17 00:00:00 2001 From: Yeongjong Lee Date: Fri, 6 Oct 2017 09:46:21 -0700 Subject: [PATCH] elementary: fix unintentional visibility of elm_hover in combobox constructor Summary: since fd9cf1d3b628f70d66ec85a4f2433c675d9ad243, All Eo canvas objects remain visible by default. but elm_hover doesn't want to be shown in combobox constructor. showing elm_hover in constructor occurs unexpected behavior. this fixes that bug. Test Plan: 1. elementary_test - Combobox 2. Click the combobox to Expand the list. Reviewers: jpeg, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5267 Signed-off-by: Cedric BAIL --- src/lib/elementary/elc_combobox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c index e11feb2..9372ffe 100644 --- a/src/lib/elementary/elc_combobox.c +++ b/src/lib/elementary/elc_combobox.c @@ -358,7 +358,8 @@ _elm_combobox_efl_object_constructor(Eo *obj, Elm_Combobox_Data *sd) //hover sd->hover = efl_add(ELM_HOVER_CLASS, sd->hover_parent, - elm_obj_widget_style_set(efl_added, buf)); + elm_obj_widget_style_set(efl_added, buf), + efl_canvas_object_legacy_ctor(efl_added)); evas_object_layer_set(sd->hover, EVAS_LAYER_MAX); efl_ui_mirrored_automatic_set(sd->hover, EINA_FALSE); elm_hover_target_set(sd->hover, obj); -- 2.7.4