RFR: 8344372: Setting width for TRANSPARENT Stage -> gtk_window_resize: assertion 'height > 0' [v4]

Kevin Rushforth kcr at openjdk.org
Mon Dec 2 22:27:47 UTC 2024


On Mon, 2 Dec 2024 22:14:11 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

>> tests/system/src/test/java/test/javafx/stage/StageMixedSizeTest.java line 103:
>> 
>>> 101: 
>>> 102:             mainStage.setOnShown(e -> {
>>> 103:                 Util.sleep(500);
>> 
>> We don't want to sleep on the FX application thread. I think you'll need to split this into separate `Runnable`s for separate calls to `Util::runAndWait` and have the sleeps between them.
>
> I did it with a Timeline, is it ok?

That should be OK. I'll test it tomorrow.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1654#discussion_r1866709146


More information about the openjfx-dev mailing list