<AWT Dev> [9] Review request for 8072069: Toolkit.getScreenInsets() doesn't update if insets change
Anton Nashatyrev
anton.nashatyrev at oracle.com
Fri Feb 13 12:06:57 UTC 2015
Hello,
could you please review the following fix:
fix: http://cr.openjdk.java.net/~anashaty/8072069/9/webrev.00/
<http://cr.openjdk.java.net/%7Eanashaty/8072069/9/webrev.00/>
bug: https://bugs.openjdk.java.net/browse/JDK-8072069
Problem: Toolkit.getScreenInsets() returns old value after Dock
moved/resized on Mac
Fix: remove the value caching and always ask native for insets.
This shouldn't cause any performance drawbacks since the
getScreenInsets() is rarely called (mostly on window init and on popup
positioning).
Thanks!
Anton.
More information about the awt-dev
mailing list