RFR: 8296387: [Tooltip, CSS] -fx-show-delay is only applied to the first tooltip that is shown before it is displayed [v5]
Marius Hanl
mhanl at openjdk.org
Sun May 26 12:38:07 UTC 2024
On Thu, 23 May 2024 22:30:29 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> with the latest monkey tester I see that updating the stylesheet does not update the showingDelay property immediately. When the tooltip gets shown, I see the following output from the change listener added to this property:
>
> ```
> showDelay=1000.0 ms
> showDelay=100.0 ms
> ```
>
> I suppose the second setting of 100ms (the value I actually set) happens too late or simply is ignored.
Ah, I think I know why. Same problem, we copy the stylesheet right before showing, so this is updated to late once again. We may need to do the update stuff always before showing.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1394#issuecomment-2132205203
More information about the openjfx-dev
mailing list