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

Rendering problems with Swing applications in multiscreen with VolatileImage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • beta2
    • generic
    • generic

      Brent has modified SwingSet2 to pop up a SwingSet2 frame on each
      of the screens in multiscreen environment.
      For now you can find modified SwingSet2 here:
      /home/bchristi/work/current/src/share/demo/jfc/SwingSet2
      (it could be moved somewhere else, but there are plans
      to make this modification to SS2 permanent)

      Run this test on the latest merlin build (1.4.0beta-b32) on
      Win32 and Solaris and you'll see lots of painting problems.

      Win32: drag one SwingSet2 frame above the other, numerous artifacts
      will appear on a lower frame. Painting on the secondary screen is
      way slower.

      Solaris: nothing is painted at all on one of the frames until it's resized.
      Then textures (scrollbars handles, internal frame titles, etc) are not painted.
      Drag internal frames on both frames, they will not be repainted correctly
      (leave garbage).

      All this is also reproducible with simple Swing application bringing
      up a frame with Swing components on each screen.

      dmitri.trembovetski@eng 2000-09-14

      Correction: the bug does not reproduce on the current promoted
      build (1.4.0beta-b32) on Solaris because pmoffscreen is disabled by
      default. But it will start manifest on the next build since pmoffscreen
      is enabled by default by the last (9/11/00) Java2D integration (because
      the 1-bit text loops are now in).

      You can see the bug even on build 32 if you run the application with
      -Dsun.java2d.pmoffscreen=true

      dmitri.trembovetski@eng 2000-09-14

            svioletsunw Scott Violet (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: