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

OGL: JInternalFrame moving artifacts when OpenGL pipeline enabled

XMLWordPrintable

    • 2d
    • b96
    • x86
    • linux

      FULL PRODUCT VERSION :
      java version "1.6.0-beta2"
      Java(TM) SE Runtime Environment (build 1.6.0-beta2-b82)
      Java HotSpot(TM) Client VM (build 1.6.0-beta2-b82, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Linux cehost 2.6.16-1.2069_FC4 #1 Tue Mar 28 12:19:10 EST 2006 i686 i686 i386 GNU/Linux

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      My Laptop has a GF488Go (NV18) onboard (compareable to GF4MX), I am using XOrg 6.8.2 running on Fedora Core 4 (updated with latest patches) and the latest NVidia driver.
      OpenGL vendor string: NVIDIA Corporation
      OpenGL renderer string: GeForce4 488 Go/AGP/SSE2
      OpenGL version string: 1.5.6 NVIDIA 87.56
      GF488Go is a GF2-class "GPU"

      A DESCRIPTION OF THE PROBLEM :
      With enabled opengl pipeline I can see artifacts when moving JInternalFrames in a JDesktopPane. The background is not repainted correctly where the right-upper end of the JInternalFrame has been.

      The problem seems to be somehow linked with the size of the moved window, if I move a 200x400 JInternalFrame I don't see any artifacts, however if I move a internalframe which is large as JDesktopPane the problem spotts up reliable.
      I am usingocean-lnf, here is a screenshot which shows the invalidated background: http://kewlstuff.de/jinternalopengl.jpg

      I can reproduce this problem only with the OpenGL pipeline enabled, running on top of X11 I don't see any problems. I have the same problem running on Tiger.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Using the attached test case
      1.) extract the bin.tar.gz file and start the application using:
      java -cp Testapp.jar:swing-layout-1.0.jar:swingset-bin_1.0.0-PR2.jar:KundendatenbankInterface.jar
      com.me.custdb.CustDBFrame
      2.) Now press some buttons of the toolbar
      3.) Move the JInternalFrame which spot up in large circles over each
      other, then you should see the artifacts.

      Alternatively it can also be produced as

      1.) Enable the OpenGL pipeline
      2.) Create a JFrame with a JDesktopPane in it
      3.) Add several windows to the JDesktopPane, some small some large (don't know wether this is really needed to be able to reproduce it)
      4.) Add a window which is as large as the JDesktop-Pane
      5.) Move this window fast arround over all the other open windows.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No artifacts
      ACTUAL -
      The background is invalidated at the upper right corner

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      use the X11 pipeline on Unix

            campbell Christopher Campbell (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: