Current implementation of metal pipleline uses shifted top inset to adjust rendering. It causes some incorrect behaviour in mouse events handling
java -Dsun.java2d.metal=true Main
metalEnabled=1
java.awt.Insets[top=0,left=0,bottom=-22,right=0]
java -Dsun.java2d.metal=false Main
metalEnabled=0
java.awt.Insets[top=22,left=0,bottom=0,right=0]
java -Dsun.java2d.metal=true Main
metalEnabled=1
java.awt.Insets[top=0,left=0,bottom=-22,right=0]
java -Dsun.java2d.metal=false Main
metalEnabled=0
java.awt.Insets[top=22,left=0,bottom=0,right=0]
- duplicates
-
JDK-8229907 Height of Frame/Window is 44px lesser for Metal Pipeline
- Closed