On Fri, 5 Feb 2021 10:46:49 GMT, Paweł Kruszczyński 
<[email protected]> wrote:

> `Tooltip` is no longer hiding upon receiving 
> `MouseEvent.MOUSE_ENTERED_TARGET` event inside it. Pressing mouse on 
> overlaying tooltip also kills the tooltip, so the infinite duration tooltip 
> can be closed.

modules/javafx.controls/src/main/java/javafx/scene/control/Tooltip.java line 
862:

> 860:         private boolean hideOnExit;
> 861:         private boolean cssForced = false;
> 862:         private boolean mouseInsideTooltip = true;

Default value of this member should be false.
This boolean indicates a state where mouse is inside a Tooltip - it cannot be 
assumed true to begin with.

-------------

PR: https://git.openjdk.java.net/jfx/pull/395

Reply via email to