-
Bug
-
Resolution: Fixed
-
P2
-
6
I am obtaining all the display modes from the default screen device. I have replaced the bit depth value with BIT_DEPTH_MULTI and setting this display mode object to the graphics device, after pushing a frame into FS mode. This makes the fullscreen appear small and the frame is no longer FullScreen. Say if the display mode is 640, 480 then the fullscreen size reduces to 640, 480 and the desktop's display mode is retained.
This is noticed since Mustang-b51 and not reproducible on b50. This is not reproducible on Tiger-FCS. This is noticed only on ddraw. On noddraw and OGL, this throws an exception saying 'invalid display mode'. Hence this is a regression introduced in Mustang-b51.
I have attached a sample test. Execute the sample test. A FS frame would appear with a button. Label of the button would show the display mode to be set. The bit depth value will be shown as '-1'. Click the button. If the frame's size reduces to the display mode's width and height, the bug is reproduced.
This is noticed since Mustang-b51 and not reproducible on b50. This is not reproducible on Tiger-FCS. This is noticed only on ddraw. On noddraw and OGL, this throws an exception saying 'invalid display mode'. Hence this is a regression introduced in Mustang-b51.
I have attached a sample test. Execute the sample test. A FS frame would appear with a button. Label of the button would show the display mode to be set. The bit depth value will be shown as '-1'. Click the button. If the frame's size reduces to the display mode's width and height, the bug is reproduced.
- relates to
-
JDK-5094347 clarify GraphicsDevice.setDisplayMode() spec regarding BIT_DEPTH_MULTI
- Resolved
-
JDK-4782458 Wrong exception is thrown while trying to set a Null or invalid Display mode
- Closed