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

[hidpi] FX and robot should be harmonized when using scale

XMLWordPrintable

      Please compile/run the attached 'Test.java' on non-hidpi display. it works as expected - two clicks on the button.

      Then please set -Dsun.java2d.uiScale=2 - the app. size didn't changed (is it what expected?), but robot is obviously missing the button (the same for HiDPI monitor).

      getLocation() returns the same location, but in case of scaling the robot interprets it differently.

      OS: Win. 7 and 8, JDK9 b104 and b105 nightly used for PIT

      the same behavior for com.sun.glass.ui.Robot

        1. SwingNodeJButtonTest.java
          4 kB
          Alexander Stepanov
        2. Test.java
          3 kB
          Alexander Stepanov

            psadhukhan Prasanta Sadhukhan
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: