Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8318032

SceneChangeShouldNotFocusStageTest robot test throws exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • jfx11, jfx20
    • javafx
    • None
    • macOS 13.2, Windows 11

      The SceneChangeShouldNotFocusStageTest robot test generates exceptions on the Mac even after the issue reported in JDK-8305675 is fixed. With a few modifications it can generate the same exceptions on Windows 11 where JDK-8305675 does not apply. I've attached a stripped down version which reproduces this bug on both systems.

      The test is contrived but it is a standard Robot test and it seems to have some fragile timing components so I've kept a high priority. The underlying problem seems to be executing scene changes during the initial platform window animation so it might be enough to add a delay before beginning the test.

      The exception call stack isn't very useful but can be found in JDK-8305675.

            kcr Kevin Rushforth
            mfox Martin Fox
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: