JDK-7102299 : javax.swing.JFrame.setExtendedState(Frame.ICONIFIED) does not work before setVisible(true)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6,8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: generic
  • Submitted: 2011-10-18
  • Updated: 2018-08-14
  • Resolved: 2015-05-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 9
9Resolved
Related Reports
Relates :  
Relates :  
Description
I am not if the bug is Ubuntu specific. May be it is GNOME version specific.
Ubuntu just uses GNOME 2.30.2 as default.

See comments for more details

Comments
- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

EVALUATION It seems that even a simple test form 4464710 fail. So the problem is reproducible.
01-11-2011

EVALUATION I have changed System Visual Effects from 'Normal' to 'None' and test passes. It seems the poblem exists only with Compiz enabled.
01-11-2011

EVALUATION During failure investigation I've added some code to the test and forgot to comment setting Frame.ICONIFIED after setVisible(true) Now I've commented this code and test fails.
25-10-2011

EVALUATION I run the test more than 5 times it passes always. Please assist me in reproducing the issue.
20-10-2011