Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8162395

The image with text "LoDPI" will be loaded when running the case on HiDPI screen (retina)

XMLWordPrintable

    • x86_64
    • os_x

      Testsuite name: FXSceneGraphTests
      Test name(s): test/manual/images/dpi/ImageLoadingDPIManualTest_HiDPILoDPI.java
      Product(s) tested: JDK9b126 (64bit)
      OS/architecture: Mac10.11-x64

      Reproducible: Always
      Reproducible on machine: Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Is it a Regression:
      [If Regression] Regression introduced in release/build:
      Test result on the last GAed release for this train:
      [if Fail] Test result on FCS:

      Is it a platform specific issue:
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Steps to reproduce:
      1. Install Test build JDK9b126 (64bit) and set JAVA_HOME env
      2. use test bundle:java-client-9-manual-new.tar.gz and extract to a folder of java-client-9-manual <WS>
      3. Install ANT (version:1.9.7) and set ANT_HOME env
      4. Change javafx.home path in build.properties file(under the folder <WS>)
      5 Enter the testsuite "SceneGraphTests" directory(under the folder<WS>) and run command: ant run-manual
      6. Run the case: test/manual/images/dpi/ImageLoadingDPIManualTest_HiDPILoDPI.java in the harness.

      Instructions:
      1.Take a look at the application which presents image on white backgrounds.
      2.in case you use High DPI (e.g. Retina on Mac) display configuration image with text "HiDPI" on the blue backgroud must be loaded
      3.in case you use Low DPI display configuration image with text "LoDPI" on the green backgroud must be loaded

      Actual result:
      We run the case use High DPI (Retina on Mac) display,but the image with text "LoDPI" will be shown on the green background,please refer to attachment.

            flar Jim Graham
            tonyli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: