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

[hidpi] Unity: setLocation / getLocation for Window does not work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 9
    • 9
    • client-libs
    • linux_ubuntu

      Configuration: Ubuntu 15.04 Linux + Unity + HiDPI (scaling factor = 2) + JDK9 b93

      Please run the attached test.

      Expected behavior (GNOME): see the attached screenshot LocationOK.png (please note that the left-top coordinates obtained with getLocation are correct).

      Unity: erroneous behavior (see LocationNOK.png). Please note that the console output obtained with getLocation changes from run to run. Does not depend on Dialog's parent (null dialog, null frame, etc.)

        1. LocationNOK.png
          204 kB
          Alexander Stepanov
        2. LocationOK.png
          151 kB
          Alexander Stepanov
        3. scale-1-nok.png
          518 kB
          Alexander Stepanov
        4. scale-1-nok.png
          426 kB
          Alexander Stepanov
        5. Test.java
          3 kB
          Alexander Stepanov
        6. TestNOK.png
          213 kB
          Alexander Stepanov
        7. TestOK.png
          184 kB
          Alexander Stepanov

            ssadetsky Semyon Sadetsky (Inactive)
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: