JDK-8313704 : [macos] Undecorated Frame does not Iconify when set to
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: openjdk8u382
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2023-07-24
  • Updated: 2023-08-06
  • Resolved: 2023-08-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8-poolResolved
Related Reports
Duplicate :  
Description
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



Comments
JDK-8214046 fix is already back ported to 8u261: JDK-8241728
03-08-2023