Hi,

we have a problem with the JavaFX implementation for the Tooltip class (this 
issue https://bugs.openjdk.org/browse/JDK-8090477 and 
https://bugs.openjdk.org/browse/JDK-8282229#<https://bugs.openjdk.org/browse/JDK-8282229>).
The problem is related to Java version 1.8.0_341. We use the Tooltip class 
without explicit usage of the new timing methods. When you position the mouse 
on a Textfield (where a tooltip is attached to), waiting for a second, the 
tooltip appears. If you do not move the mouse, the tooltip disappears after 5 
seconds. When the tooltip appears and you move the mouse away from the 
Textfield, the tooltip stays open and did not hide anymore.

I've compared both tooltip versions (1.8.0_333 versus 1.8.0_341) and I think 
the problem could be the following:

1.8.0_333

[cid:image001.png@01D8DFA8.14B89310]


1.8.0_341


[cid:image002.png@01D8DFA8.14B89310]

Possible bug reason:

When you move the mouse away from the TextField which shows the tooltip the 
yellow code line in the new version: Tooltip t = ...
does not return the currently shown tooltip. Instead it returns null, so that 
the leftTimer does not start to finally close the tooltip.
The old version always starts the leftTimer, so that the tooltip gets closed.

Is there any way to force a fix for this in the next JRE/JDK-version for Java8?

Thanks and best regards
Christian

Reply via email to