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

Lanai - highlighted TextField boundary is drawn incorrectly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Test to run -
      ~/jtreg/bin/jtreg -jdk:$JAVA_HOME -Dsun.java2d.metal=true test/jdk/java/awt/TextField/ScrollSelectionTest/ScrollSelectionTest.java

      The test passes functionally, but the highlighted Texfield boundary has some offset when run with Metal pipeline as compared with OpenGL output.

      Tested on Catalina (10.15.4) with Retina display.

        Attachments

        1. Metal.png
          Metal.png
          154 kB
        2. OGL.png
          OGL.png
          155 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: