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

PIT: Unable to push a non-focusable frame to fullscreen exclusive mode, on win32

XMLWordPrintable

    • b53
    • x86
    • windows_xp
    • Verified

      I am trying to push a non-focusable frame to fullscreen exclusive mode by calling GD.setFullScreenWindow(frame). The frame gets resized to the size of GD but it is not truely fullscreen exclusive. The frame allows other native windows to overlap it and the taskbar is seen above the fullscreen frame. Normally, any interaction with the OS such as pressing Windows keys or ALT + TAB when a frame is in FS exclusive mode would minimize the FS frame to the taskbar. Such things are not happening on the following PIT build:

      java version "awt.pit-jcg-win-03-2005-01-26-Wed-int.mustang"
      Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-jcg-win-03-2005-01-26-Wed-int.mustang)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b20, mixed mode)

      This is noticed on a WinXP system. Not reproducible on other platforms. Focusability of the frame should not impact FS exclusive mode. This is not reproducible on Tiger and Mustang-b21. Hence this is a PIT failure.

      I have attached a sample test. Execute the sample test on a WinXP system as follows:
      java WindowStateTest 0 (Runs with a focusable frame)
      java WindowStateTest 1 (Runs with a non-focusable frame)
      If the frame is not in true FS exclusive mode, the bug is reproduced.

      ###@###.### 2005-2-04 06:45:16 GMT

            ant Anton Tarasov (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: