JDK-7157742 : Evaluate the behavior of Window.setBounds() in the MAXIMIZED_BOTH state
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2012-03-29
  • Updated: 2021-07-13
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The behavior of the Window.setBounds() method is not specified when the window is in the MAXIMIZED_BOTH extended state (or any other than NORMAL state for that matter).

We need to investigate how native platforms behave in this regard, and specify the behavior in AWT javadoc. This may require some changes to the existing logic in order to unify the behavior across platforms.

Note that when fixing 7124428 it has become clear that a setBounds() call for an undecorated window being in the MAXIMIZED_BOTH state may not produce the correct result: the peer may still consider the window maximized while on the native level the window will lose its zoomed state.

Comments
These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

Converted "8-client-defer-candidate" label to "8-defer-request" by SQE' OK.
15-08-2013

*This is anti-deferral criteria list*: - P2 -------------- Engineering's Criteria ------------------------------------- - tck-red labeled - conformance labeled - P3 regressions reported/labeled against jdk8 - findbugs, parfait, eht labeled bugs - CAP <1 year reported - netbeans <1 year reported Victor ----------------- SQE's OK --------------------------------- Yes, we are ok with that thanks, Mikhail
15-08-2013

8-client-defer-candidate: the issue exists since Java 1.0. It's not critical and can be implemented later (only in a major release since it requires specification changes).
25-07-2013