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

[macos] Undecorated Frame does not Iconify when set to

XMLWordPrintable

    • x86_64
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      MacOS only.
      Already fixed via JDK-8214046 for Java 11 and newer.


      A DESCRIPTION OF THE PROBLEM :
      Frame/ JFrame with option setUndecorated(true) and setState(Frame.ICONIFIED) does not iconify the window, hence window state event is not produced.

      A backport patch is available at https://github.com/openjdk/jdk8u-dev/pull/341

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      See https://bugs.openjdk.org/browse/JDK-8214046 for example code. The backport patch in https://github.com/openjdk/jdk8u-dev/pull/341 also contains code to reproduce the issue on MacOS.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      A Frame/JFrame with option setUndecorated(true) and setState(Frame.ICONIFIED) or setExtendedState(Frame.ICONIFIED) should be minified.
      ACTUAL -
      The Frame isn't minified.

      CUSTOMER SUBMITTED WORKAROUND :
      None.

      FREQUENCY : always


            serb Sergey Bylokhov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: