Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8056728 | emb-9 | Unassigned | P4 | Resolved | Fixed | b24 |
JDK-8065501 | 8u45 | Alexandr Scherbatiy | P4 | Resolved | Fixed | b01 |
JDK-8064884 | 8u40 | Alexandr Scherbatiy | P4 | Resolved | Fixed | b15 |
JDK-8070053 | emb-8u47 | Alexandr Scherbatiy | P4 | Resolved | Fixed | team |
Java on OS X by now offers great support for hi dpi/retina displays.
Unfortunately, the launcher "java" does not.
When specifying an image as splash image via
java -splash:splash.png ...
The file splash.png is loaded and shown even when a file splash@2x.png is present and the command is executed on a display with hi dpi/retina support.
JUSTIFICATION :
It's quite disappointing when you spend a significant amount of time on getting hi dpi/Retina right and then realize that the very first impression the user gets when starting your app is a bad one, i.e. a blurry splash screen.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
If the provided splash image has a hi dpi version, i.e. the "@2x" version is present, and java is launched with a hi dpi display, show the appropriate high resolution image.
Additionally to providing support for the "@2x" notation, consider supporting multi version tiffs created via tiffutil as described in https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Optimizing/Optimizing.html
ACTUAL -
On Retina displays, java shows a blurry low resolution image, which leaves a bad first impression on the user who expects polished, professionally looking software.
---------- BEGIN SOURCE ----------
Place two file in the current directory:
splash.png (low resolution version)
splash@2x.png (high resolution version)
Start a java program with:
java -splash:splash.png ...
On a low resolution display this should display the low res variant, on a high resolution/retina display it should show the hi res variant.
---------- END SOURCE ----------
- backported by
-
JDK-8056728 [macosx] java -splash does not honor @2x hi dpi notation for retina support
- Resolved
-
JDK-8064884 [macosx] java -splash does not honor @2x hi dpi notation for retina support
- Resolved
-
JDK-8065501 [macosx] java -splash does not honor @2x hi dpi notation for retina support
- Resolved
-
JDK-8070053 [macosx] java -splash does not honor @2x hi dpi notation for retina support
- Resolved
- relates to
-
JDK-8145173 HiDPI splash screen support on Windows
- Resolved
-
JDK-8145174 HiDPI splash screen support on Linux
- Resolved
-
JDK-8049198 [macosx] Incorrect thread access when showing splash screen
- Resolved
-
JDK-8075244 [macosx] The fix for JDK-8043869 should be reworked
- Resolved
-
JDK-8158178 java.awt.SplashScreen.getSize() returns incorrect size for high dpi splash screens
- Resolved