JDK-8088624 : Win: Tooltip popup on causes its owner window to come front if it is behind another window.
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: 8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2012-11-27
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
Run the attached sample.

hover over the button to invoke the tooltip, notice the owner window comes front and the window in the front goes back. 
This happens only on windows, does not happen on Mac. 

Comments
I just checked and this also occurs in OS X with b117. The bug fix that increased the tootltip offset helps this issue a little but if the tooltip appears on a non-focussed window and then the mouse is moved a little so it is ontop of tooltip the non-focussed window will still be bought to the front which is very unexpected behaviour.
28-11-2013

I agree with Charles Smith. It seems like showing tooltips on unfocused stages is pretty undesirable behaviour anyway, isn't it? This is a pretty severe bug to leave in Lombard.
27-11-2013

Actually this happens in Linux too. It can be a pretty nasty bug too. I can push my mouse out of the way and start typing in a field and all of a sudden the window I was typing in disappears because my mouse has invoked a tooltip on the window in behind! Very unexpected. Perhaps a simple fix would be to not even show tooltips for a window that is not currently the focus owner?
27-11-2013

It looks like this issue is related to the fact popup windows are made TOPMOST and retain this state. Seems like they pull their owner window when they're being shown. I'm assigning this issue to the owner of RT-22152, RT-18465, and RT-25529, which all seem to be caused by the same problem.
03-12-2012

Looks like Glass issue since it's related to specific platform.
03-12-2012