On Tue, 22 Sep 2026 11:52:24 GMT, Kevin Rushforth <[email protected]> wrote:
>> tests/manual/stage/StartIconified.java line 47: >> >>> 45: 1. The "Iconified Window Test" must initially appear >>> only on the >>> 46: operating-system taskbar or Dock. >>> 47: 2. It must not appear normally on the screen before >>> becoming iconified, even briefly. If it does, the test fails. >> >> on my mac, the app starts with the second window appearing on screen then >> quickly scurrying into the dock, so it obviously fail the test. >> >> a suggestion: to make it easier for the operator, change the background of >> the initially iconified window to red and make it larger. > > This suggestion would be better done as part of > [JDK-8392582](https://bugs.openjdk.org/browse/JDK-8392582), although I > wouldn't recommend a red background. macOS simply will not allow a window to start in an iconified state. It always shows the window and then iconifies it. I believe it's trying to take the window through a draw cycle so it can use the drawn content to create the dock thumbnail image. In general this happens fast enough that JavaFX doesn't go through a draw cycle and the dock thumbnail image is white. There's a bug on this which I investigated but couldn't find a fix. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2315#discussion_r4073505532
