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

[hidpi] Unity: setSize / setBounds doesn't work properly (HiDPI)

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 reg. test java/awt/Modal/OnTop/OnTopAppModal3Test.java or the simplified test attached. The windows have different sizes (must have the same): please see the screenshots attached.

      The behavior is irregular (the sizes are changing from time to time).

      Could also be reproduced with some other tests

        1. Bounds.java
          0.7 kB
        2. Screenshot1.png
          Screenshot1.png
          110 kB
        3. screenshot-1-Win8.png
          screenshot-1-Win8.png
          641 kB
        4. Screenshot2.png
          Screenshot2.png
          86 kB
        5. Test.java
          3 kB
        6. ubuntu16.png
          ubuntu16.png
          398 kB
        7. win-nok.png
          win-nok.png
          425 kB

            pkbalakr Prem Balakrishnan (Inactive)
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: