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

Lanai - SwingSet2 - Motif L&F - UI controls border is incorrectly drawn with uiScale=1.0

    Details

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

      Description

      Launch SwingSet2 demo with Metal pipeline on external monitor OR use option -Dsun.java2d.uiScale = 1.0
      Switch to Motif L&F using menu.

      1) List demo - border of the list is not drawn
      2) Button demo - pink border of highlighted checkbox is drawn half

      See attached images showing bug & expected behavior.

      This is not seen on retina display or when -Dsun.java2d.uiScale = 2.0 is used.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                avu Alexey Ushakov
                Reporter:
                aghaisas Ajit Ghaisas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: