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

[hidpi] OS X: the icon's resolution does not change dynamically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • javafx

      OS X 10.11 + 2 displays: built-in Retina and non-HiDPI external

      Please go to "Displays / Arrangement" system settings and ensure that the "Mirror Displays" option is unselected.

      please run at 1st the JButtonIconTest and drag the app from one display to another. the icon is changing dynamically (@1x "red" to @2x "green" and back)

      then do the same for IconTest (I tried to set -Dprism.allowhidpi="true" just in case) => the icon isn't changed when dragging the sample from one display to another - NOK.

      the icon also holds the same when changing the single display's resolution.

      is this "static" approach intended?

        1. icon.png
          icon.png
          0.1 kB
        2. icon@2x.png
          icon@2x.png
          0.2 kB
        3. IconTest.java
          0.7 kB
        4. JButtonIconTest.java
          0.7 kB

            flar Jim Graham
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: