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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8u191, 9, openjfx11, openjfx15
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: