Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3468

Make HiDPI (Retina) icons work in MacOS menu bar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 11.3
    • None
    • platform - Other
    • MacOS with retina display

    Description

      HiDPI icons, introduced in NETBEANS-2614 and NETBEANS-2604, do not yet show up in the correct resolution when used in the menu bar on MacOS. See the attached screenshot (from a NetBeans Platform application). This should be fixed.

      Note that we have only so far introduced HiDPI icons for the "Undo" and "Redo" actions.

      Emilian Bold probably figured this out in his earlier experimental Retina support branch; see RetinaMultiResolutionImage in https://github.com/emilianbold/nextbeans/commit/0f99dba0c1b3e8e0bc4e7cec407b53d30e85ead1 . If the solution involves implementing MultiResolutionImage, then make sure not to do this on Windows (to avoid https://bugs.openjdk.java.net/browse/JDK-8212226 ).

      Attachments

        1. menuicon_retina.png
          67 kB
          Eirik Bakke

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ebakke Eirik Bakke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: