<AWT Dev> [9] Review request for 8178905: Undercorated frame is not painted on OEL7(Gnome3).

Phil Race philip.race at oracle.com
Tue Apr 18 18:02:57 UTC 2017


In that case, ok once you fix the nit(s).

-phil.

On 04/18/2017 10:35 AM, Semyon Sadetsky wrote:
> yes it works for programmatic resize (gnome sends ConfigureNotify in 
> case of any size/location update).   It only doesn't work for 
> initialization.
>
> --Semyon
>
> On 04/18/2017 10:24 AM, Phil Race wrote:
>> Does this work if you programmatically resize the window
>> after initial display ?
>>
>> Nit :  42         if(parentFrame.isTargetUndecorated() &&
>>
>> "if(" -> "if (".
>>
>> Also use corrected spelling when for the synopsis in the commit.
>>
>> -phil.
>>
>> On 04/18/2017 09:12 AM, Semyon Sadetsky wrote:
>>> Hello,
>>>
>>> Please review fix for JDK9:
>>>
>>> bug: https://bugs.openjdk.java.net/browse/JDK-8178905
>>>
>>> webrev: http://cr.openjdk.java.net/~ssadetsky/8178905/webrev.00/
>>>
>>> When an undecorated window is initialized Gnome3 WM does not send 
>>> the ConfigureNotify event which is must in the Linux AWT 
>>> implementation to establish the correct frame content size.
>>>
>>> The suggested fix introduces a check for the frame content was 
>>> initialized upon the Expose notification and updates the content 
>>> bounds if necessary.
>>>
>>> --Semyon
>>>
>>
>



More information about the awt-dev mailing list