Open Bug 687344 Opened 9 years ago Updated 4 years ago

Tooltips won't vanish when the mouse is no longer over the app


(Toolkit :: General, defect)

Not set





(Reporter: will.pittenger1+mozbugzilla, Unassigned)



(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
Build ID: 20110902133214

Steps to reproduce:

I have noticed that in both Songbird 1.9.3 and Firefox 6.0.2, tool tips in Windows don't go away when the mouse leaves the app.  Shouldn't they vanish as they no longer apply?
1. Move the mouse somewhere close to a window owned by an unrelated application that has a tooltip.  If a window is in the foreground, a link in Firefox may suffice.
2. Wait for the tooltip to appear.
3. Move the mouse to the other app.

Does the tooltip go away?

Actual results:

The tooltip would remain even though the mouse is no where near the app.

Expected results:

Once the mouse left the app, the tooltip should have vanished.
Verified as WFM on:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0a1) Gecko/20110921 Firefox/9.0a1
Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110921 Firefox/9.0a1
Mozilla/5.0 (Windows NT 6.1; rv:9.0a1) Gecko/20110915 Firefox/9.0a1
Mozilla/5.0 (X11; Linux i686; rv:9.0a1) Gecko/20110831 Firefox/9.0a1

Will, please see if you can reproduce this issue with a clean profile:

If the issue still reproduces for you, please also try with the latest nightly build:
To get the screen capture, I hovered over a link in Firefox 6.0.2 (in 64-bit Vista SP2) until the Link Alert extension popped up a tooltip.  I then moved the mouse directly from the link to the window on the right (which isn't part of Firefox and isn't even XUL based).  The tooltip is still there.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:9.0a1) Gecko/20110925 Firefox/9.0a1
Verified this issue on a X64 system too (Win 7 since I don't have Vista) but the issue is still not reproducing.

Will, please try reproducing this issue on a fresh profile:

If the issue reproduces on the fresh profile, please let me know what websites you used to reproduce this issue.
That is ChatZilla in the background.
Will, please let me know if you can reproduce this issue with a fresh profile or in safe mode and using a more recent version of Firefox. Thank you
I think I may have spotted a clue as to what is going on.  This open happens when I move the mouse away from the the application faster than the tooltip can appear.
I have a similar problem. I don't know whether this is the same bug, but Comment #6 suggests that it can be. With

  Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6) Gecko/20100101 Firefox/10.0.6 Iceweasel/10.0.6

(and previous versions too, since the problem has occurred for several months at least), tooltips don't always disappear. I don't know how to reproduce the problem, but this is something like that:
1. I'm doing something with Firefox.
2. I switch to another desktop with the keyboard (using the fvwm window manager).
3. I can see a tooltip from Firefox (I'm not sure when it appears exactly, because everything happens quickly, but probably after I've changed the desktop), even though the Firefox window is no longer visible. I need at least to move the mouse over it (or change the desktop again) to make it disappear.

There may be something wrong in the order of events handled by Firefox. I suspect some kind of race condition. The problem has just occurred again, and I have 66 open tabs, in case it is more likely to occur with a busy Firefox.
I've just had a "Home" tooltip over the Firefox window, which didn't vanish until I moved the mouse pointer back to the Firefox window.

Build identifier: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
This bug still occurred with:
Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

What I did is close a tab then switched to another desktop. And the tooltip corresponding to the closed tab appeared.
I added new information to bug 236870 which I believe is the same as this.

In particular, a recent update made this much worse, and it occurs on windows when running in pointer focus mode.  It can be reproduced - see the above mentioned bug.


Last good revision: 14665b1de5ee (2014-10-01)
First bad revision: 5d6ec4dddf14 (2014-10-02)

The pushlog appears to contain several mouse handling changes.
I'm seeing this problem many many times a day, and have to re-start Firefox every single time in order to kill those annoying persistent tool-tips.

This is Firefox 45.0b5 on Windows 7 64 bit.
Moving the mouse over the tooltip doesn't make it go away?
Flags: needinfo?(David-peters)
Sometimes, maybe 1 in 10 times, moving the mouse over the tooltip makes it go away. The other times, it would remain there on top of all other applications, until Firefox is restarted.

Interestingly, this never seems to happen when I am actually actively using Firefox. Rather, it seems to happen only when I accidentally move the mouse over Firefox when moving the mouse to another application's window.
Flags: needinfo?(David-peters)
Firefox even captures the tooltips of things that start up in the background and build their windows (or something), and then doesn't let go of them:

The only possible way to make them disappear again (other than re-starting Firefox) is to go to the exact spot where that tooltip was created and hover the mouse there again.

This is hovewer not possible most of the time because you can only guess (mostly wrongly) where the tooltip came from.
I can confirm the exact same issues. 

Quote from David.P:
> Interestingly, this never seems to happen when I am actually actively using Firefox. Rather, it seems
> to happen only when I accidentally move the mouse over Firefox when moving the mouse to another 
> application's window.

I also experience this the same way.

Note that this also happens in Thunderbird, so probably something more downstream related?

I'm using Firefox 47 on OpenSUSE 13.2, and Thunderbird 45.2.
You need to log in before you can comment on or make changes to this bug.