[7u4-osx] Request for approval for 7124554: [macosx] JWindow does ignore setAlwaysOnTop property
Mike Swingler
swingler at apple.com
Fri Jan 13 09:27:09 PST 2012
On Jan 13, 2012, at 5:23 AM, Anthony Petrov wrote:
> [ resending and CC'ing macosx-port-dev@ this time ]
>
> This is a request to push the following fix to jdk7u-osx:
>
> CR: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7124554
>
> Webrev: http://cr.openjdk.java.net/~anthony/x-6-alwaysOnTop.0/
>
> Technical review:
> http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-January/002139.html
I don't agree that this fix should be integrated. You are allowing ordinary windows to go way above the popup, menu bar, modal window, and even the dock...you should simply use the NSNormalWIndowLevel and add single integral values to it. Otherwise you Java windows are going to be floating on top over everything else on the desktop.
The named constants are only for when you need to make some windows float just above or just below one of those named levels.
Please do not integrate this fix as is,
Mike Swingler
Apple Inc.
More information about the jdk7u-dev
mailing list