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)

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              flar Jim Graham
              Reporter:
              tonyli Tony Li
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: