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

JEditorPane: scrolling HTML on 8-bit display causes randomly colored artifacts

XMLWordPrintable

    • 2d
    • beta
    • generic, x86, sparc
    • solaris_2.6, solaris_7, solaris_9, windows_95, windows_98

      When you scroll HTML in a JEditorPane on an 8-bit frame buffer (eg. a CG6),
      the entire panel gets shaded over with different colors. It looks like the
      scroll is done by copying a rectangle, and the copy somehow introduces these
      artifacts that look like a shaded dither.

      The effect is cumulative - if you scroll slightly back and forth enough
      times, the shading gets so bad that it obsures the text, making it unreadable,
      but even scrolling casually down a page, it is noticable. I attached a .gif of
      a screen-shot after scrolling a few times up and down. The text is almost
      totally obscured.

      To reproduce:
      - This only seems to reproduce on an 8-bit frame buffer (like a CG6).
      - Bring up and application that uses JEditorPane (you can use the help
        window of SMC).
      - Scroll the pane (either vertically or horizontally)
      The entire pane should become shaded with artifacts that look like a shaded
      dither. If you scroll slightly back and forth, the artifacts build up and
      obscure the text.

      Using JDK 1.2.2: (build Solaris_JDK_1.2.2_05a, native threads, sunwjit) on
      SunOS 5.9 s81_16, sparc Ultra-10

            tdv Dmitri Trembovetski (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: