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

Compatibility: ImageAlignTest applet fails to repaint properly when clipped

XMLWordPrintable

    • 2d
    • kestrel
    • x86
    • windows_nt
    • Verified

      Build : 'H'
      OS : 95/98 (DirectDraw) only (NT ok)
      applet : ImageAlignTest
                 {/net/tapas/export1/java2d/Testing/applets11/ImageAlignTest}

      If you clip any of the individual drawRect from 2 sides (ie bottom+right) the repaint fails. However if you clip it only from 1 side the repaint is correct.

      Steps to repro:
        1. drag a Window over the any of the entire gradient filled rect.
            (if you don't have "see content while dragging" option. Just simply
             cover the entire gradient rect and then release the top window
             to cover as instructed in #2)
        2. rest the dragging Window to cover the lower/right of the gradient rect.

        - What you should observe is the rect not being repainted at all. But if you cover either hortizontally or vertically the rect gets repainted properly.
        

            jehung Jeannette Hung (Inactive)
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: