JDK-8019269 : [macosx] Maximized window size wrong after screen resolution change
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u13
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2013-06-27
  • Updated: 2013-08-19
  • Resolved: 2013-08-19
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
8Resolved
Description
NetBeans user has reported the following issue:

This bug occurs with the NetBeans IDE 7.2.1 on MacOS with Java 1.7. To
reproduce:
1) Close NetBeans if open.
2) From the "Displays" MacOS dialog, set the screen resolution to some lower
resolution than the maximum/preferred one.
3) Start NetBeans and maximize its window (green traffic light button on top
left-hand corner of the window).
4) Now set the screen resolution back to its maximum. The NetBeans window
remains the same size, and cannot be made larger (by dragging nor by pressing
the maximize button again). The only workaround I have found is to restart the
IDE.

jEdit, another Swing app, does not seem to suffer from this problem. I was,
however, able to observe the same behavior in a test Swing app I made, so it's
probably related to a JDK issue.

Version details:
Product Version: NetBeans IDE 7.2.1 (Build 201210100934)
Java: 1.7.0_13; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb)

Comments
Not reproducible with jdk7u40ea or jdk8ea and Netbeans 7.3.1 Please reopen the issue if you still observe the problem with jdk7u40 or jdk8.
2013-08-19

The user reports that first attempt to reproduce with 7u40 did not show the buggy behavior. Next the user will test with multi-monitor setup and get back to us with additional information.
2013-08-07

Waiting for user's feedback.
2013-06-27

Is it possible to test it with jdk 8 or/and with jdk 7u40? Thanks.
2013-06-27

Original NetBeans bug: https://netbeans.org/bugzilla/show_bug.cgi?id=226192
2013-06-27