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

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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. Test.java
          3 kB
        2. LocationNOK.png
          LocationNOK.png
          204 kB
        3. LocationOK.png
          LocationOK.png
          151 kB
        4. TestNOK.png
          TestNOK.png
          213 kB
        5. TestOK.png
          TestOK.png
          184 kB
        6. scale-1-nok.png
          scale-1-nok.png
          426 kB
        7. scale-1-nok.png
          scale-1-nok.png
          518 kB

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

              Created:
              Updated:
              Resolved: