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

Renderings are not shown properly for frames created with some GCs on Solaris-CDE-ffb+

XMLWordPrintable

    • 2d
    • sparc
    • solaris_9

      I am getting all the GraphicsConfigs from the GraphicsDevice and creating a frame using each of the GCs. Performing some 2D rendering on a canvas and adding the canvas to the frames. Showing and disposing the frames one by one. On Solaris9-CDE, for some of the GCs, the frame is blank and none of the 2D renderings are shown. For some other GCs, the frame appear below the native windows such as console and text editor inspite of calling setAlwaysOnTop() and toFront() methods.

      This is reproducible on Motif as well as XToolkit, atleast from 1.4. This is reproducible only on ffb+ frame buffers and not reproducible on other solaris systems that use m640 frame buffers.

      I have attached a sample test. Execute it as follows:
      java -Dawt.toolkit=sun.awt.X11.XToolkit CreateFrameVirtualScreenTest

      You would see a frame with all the 2D renderings and it will get disposed automatically after 6 seconds. Then the next frame would popup which is actually using a different GC. Likewise, a series of frames would appear and dis-appear dependening on the no. of GCs available for that device. If you any of the frames appear blank or if any of the frames appear beneath the console, the bug is reproduced.

      The problematic GCs are: (for my device having ffb+ frame buffer)

      GraphicsConfig 2: X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x29]
      For this GC, frame appears below the console. (not reproducible always)

      GraphicsConfig 7: X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x2e]
      For this GC, the frame appears blank.

      I have given the GC details and the machine info under comments.
      ###@###.### 2005-1-08 11:37:51 GMT

            serb Sergey Bylokhov
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: