JDK-8081714 : JavaFX Draws wrong on Retina displays
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8u31
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: os_x
  • CPU: x86
  • Submitted: 2015-05-14
  • Updated: 2016-05-30
  • Resolved: 2015-06-03
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Darwin platinum 14.4.0 Darwin Kernel Version 14.4.0: Tue May  5 14:17:52 PDT 2015; root:xnu-2782.30.4~3/RELEASE_X86_64 x86_64


EXTRA RELEVANT SYSTEM CONFIGURATION :
Macbook Pro 15" Retina Display

A DESCRIPTION OF THE PROBLEM :
When a JavaFX window loads on a Retina screen (and a non-retina screen is attached), everything is scaled wrong. When you move the window to the non-retina screen, it scales correctly and then stays correct when moved back to the retina screen. When a second display is not available, the scaling is correct. A great test is to use Scene Builder.


REPRODUCIBILITY :
This bug can be reproduced always.


Comments
I see that you are running 8u31. This issue is no longer reproducible in 8u40. Please upgrade to a more recent version of the JDK (for example, 8u45).
03-06-2015