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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris_9

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: