-
Bug
-
Resolution: Fixed
-
P3
-
8u211
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8224425 | emb-8u221 | Alexey Ivanov | P3 | Resolved | Fixed | b02 |
This was tested on Windows 10 x64 machine
Run 2 instances of SwingSet2 application with sun.java2d.dpiaware set to true /false.
$JAVA_HOME/bin/java -jar -Dsun.java2d.dpiaware=true SwingSet2.jar &
$JAVA_HOME/bin/java -jar -Dsun.java2d.dpiaware=false SwingSet2.jar
Observe and Compare the size and position of the splash screen at startup.
With dpiaware flag set to false it opens up as expected in the screen and app center, and stays in the same position till it is disposed and replaced by the application.
With dpiaware flag set to true it opens up closer to the top left corner of the screen and open in a smaller size for a second and then flashes back to the center of screen in a slightly bigger size.
Run 2 instances of SwingSet2 application with sun.java2d.dpiaware set to true /false.
$JAVA_HOME/bin/java -jar -Dsun.java2d.dpiaware=true SwingSet2.jar &
$JAVA_HOME/bin/java -jar -Dsun.java2d.dpiaware=false SwingSet2.jar
Observe and Compare the size and position of the splash screen at startup.
With dpiaware flag set to false it opens up as expected in the screen and app center, and stays in the same position till it is disposed and replaced by the application.
With dpiaware flag set to true it opens up closer to the top left corner of the screen and open in a smaller size for a second and then flashes back to the center of screen in a slightly bigger size.
- backported by
-
JDK-8224425 Startup Splash Screen of SwingSet2 flashes in smaller coordinates before appearing in the final size
- Resolved
- relates to
-
JDK-8220381 Scale up splash screen image in HiDPI environment
- Open