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

SwingSet2 scrolling doesn't repaint properly from macOS Mojave

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: client-libs
    • Labels:
    • Environment:

      Local build of lanai repo
      macOS 10.15.4 Catalina
      HW: 13" MacBook Pro, late 2013 model, with an Intel Iris graphics chipset and a Retina display.

    • Subcomponent:
      2d
    • OS:
      os_x

      Description

      To reproduce, run the following on macOS 10.15.4 Catalina:

      1. Run SwingSet2 as follows:

      $ java -Dsun.java2d.metal=true -jar SwingSet2.jar

      2. Click on the "Source code" button to show the source code of the demo in a JEditorPane.

      3. Using a two-finger scroll gesture on the trackpad, scroll the source code pane.

      BUG: a rectangular region in the middle of the window is not repainted while you are scrolling nor after you stop scrolling.

      If you refresh the window in some way it will repaint correctly.

      I can't reproduce it on my 10.13.6 High Sierra system.

      This might be a 10.15 Catalina specific bug, or could be because I'm running on older hardware.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: