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

GD.getFullScreenWindow return incorrect values on multi-mon systems, win32

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      On a multi-mon virtual screen setup (win_XP), I am pushing a frame to FS mode through the primary monitor's graphics device. After that I am calling getFullScreenWindow() with respect to the secondary monitor's graphics device and it returns the frame instance that was pushed to FS mode through GD1.
      Likewise, calling GD2.setFullScreenWindow(null) restores the frame (pushed into FS mode through GD1) to normal mode. This is reproducible on Win_XP since JDK1.4.2. Before that, this operation was causing a VM crash.

      I have attached a sample test. Execute the sample test. You will get a frame with 3 buttons. Click the first button (gd1.setFSWindow). The frame will be pushed to FS mode. Click the second button (GD2.getFSWindow). You will see the frame instance being shown in the frame as a label. Click the third button (gd2.setFSWindow(null)). This would restore the FS frame to normal mode.

        Attachments

          Activity

            People

            Assignee:
            tdv Dmitri Trembovetski (Inactive)
            Reporter:
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: