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

Fullscreen window always appears on sec monitor regardless of gd used, multi-mon

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b51
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp
    • Verification:
      Verified

      Description

      I have a multi-mon setup on win_xp configured with a virtual screen. I am calling GraphicsDevice[x].setFullScreenWindow(frame) with respect to primary monitor's graphics device. But I am surprised to see that the fullscreen frame always appears on secondary monitor (screen0 in my case) regardless of which graphics device is used to push the frame into fullscreen mode. This is incorrect. The fullscreen window should appear in the monitor whose graphics device has been used for calling this method.

      This is reproducible on Win32 since 1.4.2. On 1.4, 1.4.1 this is causing a VM crash.

      I have attached a sample test. Execute the sample test. You would see a frame with 2 buttons. Click on the 'Primary' button / 'Secondary' button. Your fullscreen frame should appear in the respective monitor. If it always appears in only one of the monitors, the bug is reproduced.

        Attachments

          Issue Links

            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: