-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
8u341
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
Java1.8.0u341
A DESCRIPTION OF THE PROBLEM :
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#).
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.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Hold the mouse on a textfield with a tooltip (created via fxml)
- wait till the tooltip appears
- move the mouse from the textfield away before the tooltip automatically disappears
- the tooltip stays open
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
- the tooltip disappears
---------- BEGIN SOURCE ----------
Possible bug reason (in Tooltip class the LEAVING_HANDLER an the new line in u341 Tooltip t = ...):
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.
---------- END SOURCE ----------
FREQUENCY : always
Java1.8.0u341
A DESCRIPTION OF THE PROBLEM :
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#).
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.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Hold the mouse on a textfield with a tooltip (created via fxml)
- wait till the tooltip appears
- move the mouse from the textfield away before the tooltip automatically disappears
- the tooltip stays open
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
- the tooltip disappears
---------- BEGIN SOURCE ----------
Possible bug reason (in Tooltip class the LEAVING_HANDLER an the new line in u341 Tooltip t = ...):
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.
---------- END SOURCE ----------
FREQUENCY : always