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

[macos] Frame does not iconify any more after JDK-8139208

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 22, 24, 25
    • client-libs

      After JDK-8139208 (jdk22) one of our applications changed behaviour.

      It is supposed to start up iconified. This worked on mac before JDK-8139208. Now an empty frame is shown. It needs to be iconified by the user. See also attached test program.

      Especially these two statements don't do what I would expect:
      frame.setExtendedState(JFrame.ICONIFIED);
      frame.setVisible(true);

      It seems they are both skipped after JDK-8139208. But when
      deminimizing the frame at least setVisible() is called.

      Also I figured the behavior differs on Windows (Program starts up as icon.) and Linux (Program starts up as frame with visible components.).


            achung Alisen Chung
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: