RFR: 8296387: [Tooltip, CSS] -fx-show-delay is only applied to the first tooltip that is shown before it is displayed [v9]
Marius Hanl
mhanl at openjdk.org
Sat Jul 6 11:15:43 UTC 2024
On Fri, 5 Jul 2024 17:11:54 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> Marius Hanl has updated the pull request incrementally with one additional commit since the last revision:
>>
>> add many more unit tests for Tooltip
>
> modules/javafx.controls/src/test/java/test/javafx/scene/control/TooltipTest.java line 657:
>
>> 655: // Style: .tooltip { -fx-show-delay: 200ms; }
>> 656: stageLoader.getStage().getScene().getStylesheets()
>> 657: .add("data:base64,LnRvb2x0aXAgeyAtZngtc2hvdy1kZWxheTogMjAwbXM7IH0=");
>
> this is clever. can we generate the base64-encoded string on the fly? something along the lines
>
>
> return "data:text/css;base64," + Base64.getEncoder().encodeToString(b);
>
>
> (here and elsewhere?)
Thought about this well, didn't test yet
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1394#discussion_r1667350521
More information about the openjfx-dev
mailing list