summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-04-03 11:38:11 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2020-04-16 14:34:07 +0200
commit27f55105334f9d48d8c647610331915cbc4d89dc (patch)
tree727ea3bae3d57c21123839896d763be297b197fe /src/lib/elementary
parent034d42855b08c2d43c3593587c7d7aaeb54351d5 (diff)
elm/hoversel: force calc on internal hover object during activate
hoversel can't accurately determine its location until the hover object has been calculated, so this needs to always happen before the hoversel is made visible in order to correctly position the hover fix T8642 Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11646
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elc_hoversel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elc_hoversel.c b/src/lib/elementary/elc_hoversel.c
index 666031f59f..b94aa6177b 100644
--- a/src/lib/elementary/elc_hoversel.c
+++ b/src/lib/elementary/elc_hoversel.c
@@ -523,6 +523,8 @@ _activate(Evas_Object *obj)
523 if (_elm_config->access_mode) _access_widget_item_register(sd); 523 if (_elm_config->access_mode) _access_widget_item_register(sd);
524 524
525 efl_event_callback_legacy_call(obj, ELM_HOVERSEL_EVENT_EXPANDED, NULL); 525 efl_event_callback_legacy_call(obj, ELM_HOVERSEL_EVENT_EXPANDED, NULL);
526 efl_canvas_group_calculate(sd->hover);
527 _sizing_eval(obj);
526 evas_object_show(sd->hover); 528 evas_object_show(sd->hover);
527} 529}
528 530