-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: jfx25
-
Component/s: javafx
-
Environment:
macOS 26.x
JDK 25 built with Xcode 15.4
Any recent version of JavaFX (At least 25 and 27 have been tested)
-
os_x
Running the following code:
@Override
public void start(Stage primaryStage) {
final Scene scene = new Scene(new StackPane(new Label("Utility Window")), 600, 400);
primaryStage.setTitle("Main Window - JDK" + System.getProperty("java.version"));
primaryStage.initStyle(StageStyle.UTILITY);
primaryStage.setScene(scene);
primaryStage.show();
}
shows the expected utility window when running with any JavaFX version and any JDK version lower than 25 ("utility-24.png"), but when running with JDK 25 or higher, the minimize and maximize buttons show up unexpectedly, at a wrong position ("utility-25.png").
@Override
public void start(Stage primaryStage) {
final Scene scene = new Scene(new StackPane(new Label("Utility Window")), 600, 400);
primaryStage.setTitle("Main Window - JDK" + System.getProperty("java.version"));
primaryStage.initStyle(StageStyle.UTILITY);
primaryStage.setScene(scene);
primaryStage.show();
}
shows the expected utility window when running with any JavaFX version and any JDK version lower than 25 ("utility-24.png"), but when running with JDK 25 or higher, the minimize and maximize buttons show up unexpectedly, at a wrong position ("utility-25.png").