discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=9987be780560f024fe76cf9960dc17dde86613f8
commit 9987be780560f024fe76cf9960dc17dde86613f8 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Sun Dec 7 19:37:54 2014 -0500 tooltip windows now show themselves offscreen to force size calc before appearing this improves initial tooltip placement and prevents tooltip warping due to incremental size recalcs after show --- src/lib/els_tooltip.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c index dbcac34..79b1494 100644 --- a/src/lib/els_tooltip.c +++ b/src/lib/els_tooltip.c @@ -385,8 +385,16 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt) if (eminw && (ominw < eminw)) ominw = eminw; if (eminh && (ominh < eminh)) ominh = eminh; - if (ominw < 1) ominw = 10; /* at least it is noticeable */ - if (ominh < 1) ominh = 10; /* at least it is noticeable */ + 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); --