<AWT Dev> [8] Review request for 7081594 Windows owned by an always-on-top window DO NOT automatically become always-on-top

Anthony Petrov anthony.petrov at oracle.com
Fri Oct 4 04:39:31 PDT 2013


Good point, Sergey. Indeed, it seems that resetting the always on top 
state to false for an owner window shouldn't affect its owned windows.

--
best regards,
Anthony

On 10/04/2013 03:29 PM, Sergey Bylokhov wrote:
> Hello.
> It is interesting what should happens if we set saot for the child, then
> set it to the owner, and then remove this property from the owner.
>
> On 04.10.2013 12:46, Artem Ananiev wrote:
>>
>> On 10/4/2013 12:24 PM, Anthony Petrov wrote:
>>> The fix looks good to me.
>>
>> +1.
>>
>> I would also add a comment to security exception [empty] handler that
>> we don't really expect exceptions here: either we have the permission,
>> or the owner is not alwaysOnTop.
>>
>> Thanks,
>>
>> Artem
>>
>>> --
>>> best regards,
>>> Anthony
>>>
>>> On 10/03/2013 05:03 PM, Alexander Scherbatiy wrote:
>>>> Hello,
>>>>
>>>> Could you review the fix:
>>>>    bug: https://bugs.openjdk.java.net/browse/JDK-7081594
>>>>    webrev: http://cr.openjdk.java.net/~alexsch/7081594/webrev.00
>>>>
>>>>    The fix:
>>>>      - sets alwaysOnTop field for a new created window from the parent
>>>> value
>>>>      - propagates the alwaysOnTop value in setAlwaysOnTop() method to
>>>> the owned windows
>>>>
>>>> Thanks,
>>>> Alexandr.
>>>>
>
>


More information about the awt-dev mailing list