This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 213514

Summary: Dual Monitor, MacOSX, 7u4: Native maximize problems
Product: platform Reporter: David Strupl <dstrupl>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED WONTFIX    
Severity: normal CC: anebuzelsky, mmirilovic, musilt2, ttokoly
Priority: P2 Keywords: DUAL_MONITOR, JDK_SPECIFIC
Version: 7.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot from the maximized state

Description David Strupl 2012-06-04 09:51:36 UTC
1. The maximized window has a strangely painted area at the top of the main window with a space for a non-existant main menu

2. Happened also that the maximized main window could not been de-maximized.
Comment 1 David Strupl 2012-06-04 09:52:19 UTC
Adding Marian to cc: per his reqeust. Ale please note this is 7u4 dual monitor specific problem.
Comment 2 David Strupl 2012-06-04 09:54:14 UTC
THis was tested on 7.2 Beta. To be confirmed in the trunk.
Comment 3 Stanislav Aubrecht 2012-06-04 10:19:01 UTC
Please provide a screenshot, thanks.
Comment 4 Antonin Nebuzelsky 2012-06-04 12:26:46 UTC
If someone can provide a screenshot, and also the code snippet we use to turn on full screen mode, I will report to JDK.
Comment 5 Stanislav Aubrecht 2012-06-04 12:42:26 UTC
The code to turn full screen support on is:

com.apple.eawt.FullScreenUtilities.setWindowCanFullScreen(<nb main window>, true)
Comment 6 David Strupl 2012-06-04 13:17:41 UTC
Created attachment 120317 [details]
Screenshot from the maximized state

Attaching screenshot with the area near top which should not be there.
Comment 7 Antonin Nebuzelsky 2012-06-04 17:01:23 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7174057
Comment 8 Stanislav Aubrecht 2012-06-05 10:28:19 UTC
Still reproducible in JDK 1.7.0_06-ea-b12
Comment 9 Antonin Nebuzelsky 2012-07-11 11:53:16 UTC
David, or Tomas, can you try reproducing with 7u6 b18 today?
Comment 10 Marian Mirilovic 2012-07-11 12:48:11 UTC
cc-ind Tomas Tokoly ... Tomas Danek is on vacation next 2.5 weeks ;(
Comment 11 David Strupl 2012-07-11 13:25:55 UTC
I have tried today on 

ava version "1.7.0_06-ea"
Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b08, mixed mode)

and confirm it seems to work fine for me.