<AWT Dev> [9] Review request for 8175293 Window size is not updated after setting location to display with different DPI

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Tue Feb 21 13:20:35 UTC 2017


Could you review the fix:
   bug: https://bugs.openjdk.java.net/browse/JDK-8175293
   webrev: http://cr.openjdk.java.net/~alexsch/8175293/webrev.00

   The fix for the JDK-8147440 shifts a window position while it is 
dragging from one display to another.
   This causes that sometimes there is a native event which sets the 
window position back before the window was shifting when the mouse 
button is up.
   The current fix postpones the window shifting after the 

   Now all windows moving from one display to another and display DPI 
changing are handled in WWindowPeer.checkDPIChange(...) method.
   This includes the following use cases:
   - changing the DPI of the current display
   - moving a window from one display to another
   - set the window location to position on another display


More information about the awt-dev mailing list