[Rev 02] RFR: 8232811: Dialog's preferred size no longer accommodates multi-line strings

Kevin Rushforth kcr at openjdk.java.net
Tue Dec 17 23:02:02 UTC 2019


On Tue, 17 Dec 2019 23:02:02 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

>> https://bugs.openjdk.java.net/browse/JDK-8232811
>> 
>> This one was hard to tackle.
>> 
>> ./gradlew -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests test.robot.javafx.scene.dialog.DialogWithOwnerSizingTest
> 
> The pull request has been updated with 1 additional commit.

tests/system/src/test/java/test/robot/javafx/scene/dialog/DialogWithOwnerSizingTest.java line 124:

> 123: 
> 124:             stage.initStyle(StageStyle.UNDECORATED);
> 125:             stage.setOnShown(e -> Platform.runLater(startupLatch::countDown));

Since this is a Robot test that relies on the Stage being in front of other windows, can you add the following?

    stage.setAlwaysOnTop(true);

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

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


More information about the openjfx-dev mailing list