<AWT Dev> [9] Review request for 8165619: Frame is not repainted if created in state=MAXIMIZED_BOTH on Unity

Semyon Sadetsky semyon.sadetsky at oracle.com
Fri Sep 23 13:15:16 UTC 2016


Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8165619

webrev: http://cr.openjdk.java.net/~ssadetsky/8165619/webrev.00/

If frame is created in maximized the window extent property notification 
is not send by WM. So, ConfigureNotify event is skipped and the target 
frame doesn't receive notification about size and its content is not 
repainted.  To handle this scenario the waiting for window extents is 
canceled for maximized window and the extents are specified when window 
state is changed back to normal.

--Semyon



More information about the awt-dev mailing list