jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ba91b00aa8a957c9a48b1bcfd85cf34e1f3dfdae
commit ba91b00aa8a957c9a48b1bcfd85cf34e1f3dfdae Author: Jaehyun Cho <jae_hyun....@samsung.com> Date: Thu Jun 29 16:12:37 2017 +0900 els_tooltip: Remove infinite job calls Summary: When tooltip or content size is 0, tooltip reconfigure job is called infinitely. This patch removes the infinite job calls. Test Plan: See following patch, test case "Tooltip" -> "Tooltip with no min size" Reviewers: zmike Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4982 --- src/lib/elementary/els_tooltip.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/lib/elementary/els_tooltip.c b/src/lib/elementary/els_tooltip.c index 89febf6647..0fc32d663b 100644 --- a/src/lib/elementary/els_tooltip.c +++ b/src/lib/elementary/els_tooltip.c @@ -518,17 +518,6 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt) if (eminw && (ominw < eminw)) ominw = eminw; if (eminh && (ominh < eminh)) ominh = eminh; - if ((ominw < 1) || (ominh < 1)) - { - evas_object_move(tt->tt_win ? : tt->tooltip, -9999, -9999); - evas_object_resize(tt->tt_win ? : tt->tooltip, 1, 1); - TTDBG("FAKE: tx=%d,ty=%d,tw=%d,th=%d\n", -9999, -9999, 1, 1); - evas_object_show(tt->tooltip); - if (tt->tt_win) evas_object_show(tt->tt_win); - _elm_tooltip_reconfigure_job_start(tt); - return; - } - edje_object_size_min_restricted_calc(tt->tooltip, &tw, &th, ominw, ominh); TTDBG("TTSIZE: tw=%d,th=%d,ominw=%d,ominh=%d\n", tw, th, ominw, ominh); --