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

Rendering incorrect after switching display modes (win32 only)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • 2d
    • beta
    • generic, x86
    • windows_98, windows_nt
    • Verified

      To reproduce this bug:

      Run the Dithering demo on 256 color on win98, then switch the color to any other higher color depth, for example 16, 24, 32 bit color depth. You will see the images on the canvases be messed up totally. This does not happen on winNT.

      Run the test on 16 bit or higher color depth, then switch it to 256 color, you will see the color on the dithering canvas shows as different shapes, which is unacceptable. But by resizing the dithering frame, the dithering images will repaint and work fine. This does happen on winNT.

      This bug did not happen on kestrel, so it is a regression.


      ------------------------

      I've just updated the Synopsis of this bug to better reflect the actual
      problem. The original bug described a problem when switching from 8-bit
      mode to any other display mode. However, the problem is not tied to
      8-bit mode, but instead to every mode. The real problem is that we do not
      currently account for display switches in our code, so the rendering result
      after a display mode switch is unpredictable (but generally incorrect).
      There are several contributing factors behind this problem which have
      all been filed as bugs and listed in the See Also area of this bug report.

      chet.haase@Eng 2000-09-11

            chaasesunw Chet Haase (Inactive)
            jdusunw Jeanne Du (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: