Tooltip is interfering with mouseEntered/mouseExited events

Jonathan Giles jonathan.giles at
Fri Jun 14 15:37:22 PDT 2013

Stepping back slightly, the concern I've raised previously with regard 
to the modena tooltip is its positioning under the mouse. I think the 
first thing that should be discussed is whether we can relocate that 
popup such that it is slightly shifted downwards and to the right so 
that it doesn't appear directly under the mouse pointer. I think with 
this resolved the other issues no longer matter - is this correct?

-- Jonathan

On 15/06/2013 10:17 a.m., Pedro Duque Vieira wrote:
> Sorry to insist but the question has not been answered yet.
> Does someone know how to see if a mouse is hover a tooltip? Or if there is
> a specific component beneath the mouse and under the tooltip?
> Cheers,
> On Wed, Jun 12, 2013 at 10:38 PM, Pedro Duque Vieira <
> pedro.duquevieira at> wrote:
>> The problem gets worse because tooltip is not a node (why?) so you cannot
>> easily know if the mouse is hover a tooltip or not.
>> Does someone know how to see if a mouse is hover a tooltip?
>> On Tue, Jun 11, 2013 at 1:11 AM, John Smith <John_Smith at>wrote:
>>> A somewhat related inconvenience I have with tooltips is that if you put
>>> a tooltip on a button, then hover the mouse so that the tooltip shows up,
>>> you can't click to activate the button unless you move the mouse pixel to
>>> left or top because the resultant click will go to the tooltip and not to
>>> the button.  It's especially strange on Modena, because there the tooltip
>>> has a rounded corner, so you visibly aren't clicking on the tooltip, though
>>> you are clicking in the tooltip's rectangular bounds.
>>> Some examples of how other apps handle tooltips:
>>> In NetBeans the tooltip shows up below the button rather than at the
>>> mouse position - this has the advantage of not obscuring the thing which
>>> the tooltip is providing information on.
>>> Intellij Idea is similar, except that it's tooltip is a callout has with
>>> a little triangular area which overlaps the thing the tooltip is for.  If
>>> you click in the overlapped area, the underlying node still takes the
>>> expected action.
>>> Microsoft apps like Outlook show tooltips below the things they are
>>> providing info on (or above if there is not enough screen area below to
>>> show the tooltip).
>>> -----Original Message-----
>>> From: openjfx-dev-bounces at [mailto:
>>> openjfx-dev-bounces at] On Behalf Of Pedro Duque Vieira
>>> Sent: Monday, June 10, 2013 2:42 PM
>>> To: OpenJFX Mailing List
>>> Subject: Tooltip is interfering with mouseEntered/mouseExited events
>>> Hi,
>>> I have a toolbar composed by a couple of buttons. The toolbar fades away
>>> when the mouse exits. The problem is that I have tooltips set up with the
>>> toolbar and sometimes they appear under the mouse which triggers a
>>> mouseExit event that makes the toolbar fade-away.
>>> My point is maybe the tooltips should be viewed by the API as a component
>>> that is part of the other component which they are set upon.
>>> In this situation I'm getting random mouse exits depending when whether
>>> the tooltip appears below the mouse or not.
>>> Cheers,
>>> --
>>> Pedro Duque Vieira
>> --
>> Pedro Duque Vieira

More information about the openjfx-dev mailing list