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

UI text of application with metal pipeline is lost when another application is launched with OpenGL pipeline

    Details

    • Subcomponent:
      2d
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Steps to see the issue :

      1) Make sure that the Automatic graphics swtiching is checked under "System Preferences -> Energy Saver". This is the default option.
      2) Launch SwingSet2 with -Dsun.java2d.metal=true
      3) Launch SwingSet2 with -Dsun.java2d.metal=false

      On step 3, UI text of SwingSet2 launched in step 2 is lost.

      See the attached screenshot - on the left side, there is SwingSet2 with metal pipeline showing the issue. On the right side, there is SwingSet2 with OpenGL pipeline.

      Tested on MacBook Pro 16" with discrete graphics card (macOS 10.15.6)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                aghaisas Ajit Ghaisas
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: