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

[macOS] setIconified(false) fails to restore undecorated stage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • jfx11, 8u191, 9, jfx15
    • javafx
    • None
    • macOS 10.15.5
      JDK 8u192 or JDK 14 + openjfx 15-ea.

    Description

      I discovered this while testing the fix for JDK-8248490.

      To reproduce this, run the attached test program:

      $ java IconifyTest

      This test will create an undecorated stage, call setIconified(true) to iconify it, then call setIconified(false) to restore it. After the fix for JDK-8248490 it will iconify correctly, but the call to setIconified(false) fails to restore it.

      The window can still be restored using the task bar.

      This fails at least as far back as 8u191, and fails in JDK 9 and later, so is not a regression (or at least not a recent one).

      Attachments

        Issue Links

          Activity

            People

              kcr Kevin Rushforth
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: