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

SwingSet2 scrolling doesn't repaint properly from macOS Mojave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • internal
    • internal
    • client-libs
    • 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.

    • 2d
    • os_x

      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.

        1. Netbeans_after_random_scrolling.png
          487 kB
          Jayathirth D V
        2. Jay_verification.png
          251 kB
          Jayathirth D V
        3. Jay_Verification_Catalina_at_migration_change.png
          288 kB
          Jayathirth D V

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

              Created:
              Updated:
              Resolved: