<AWT Dev>  Review request for 8025225: Window.setAlwaysOnTop documentation should be updated
artem.ananiev at oracle.com
Thu Sep 26 06:22:29 PDT 2013
On 9/24/2013 2:06 PM, Anthony Petrov wrote:
> Hi Alexander,
> I suggest to mention that a call to setAlwaysOnTop(false) may also cause
> an unspecified, platform-dependent change in the z-order of top-level
> windows (still respecting their always-on-top states, however).
> Otherwise this isn't clear from the current spec.
> best regards,
> On 09/24/2013 01:34 PM, Alexander Zvegintsev wrote:
>> Please review the fix for the issue:
>> The webrev is available here:
>> This issue was raised by Metacity's specific behavior:
>> If we have two windows(#1 has always-on-top state and has no window
>> focus and #2 has window focus),
>> then calling setAlwaysOnTop(false) on #1 will bring #2 window to front
>> of #1.
>> This fix makes more space for such window manager behavior.
>>> The window remains in the top-most position
>> Previous version of javadoc also does not cover a case when an another
>> always-on-top window presented.
>> CCC request will be send after dev's review.
More information about the awt-dev