<Swing Dev> [9] Review request for 8160248 Dragged internal frame leaves artifacts for floating point ui scale
Alexandr Scherbatiy
alexandr.scherbatiy at oracle.com
Fri Jun 24 11:27:14 UTC 2016
Hello,
Could you review the fix:
bug: https://bugs.openjdk.java.net/browse/JDK-8160248
webrev: http://cr.openjdk.java.net/~alexsch/8160248/webrev.00
SunGraphics2D.hitClip() does not guarantee that it returns false for
non-intersected areas.
This exactly happens for rectangles when floating point scale is
used. See discussion:
http://mail.openjdk.java.net/pipermail/2d-dev/2016-June/007076.html
The proposed fix directly checks the graphics clip and component
bounds intersection.
Thanks,
Alexandr.
More information about the swing-dev
mailing list