-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0
-
Fix Understood
-
x86
-
windows_xp
Calling setFullScreenWindow(frame) pushes the frame into fullscreen mode and by default, the frame decorations are shown. It's not turned off unless it is done explicitly by calling setUndecorated(true). When I draw a volatile image on the frame which is in fullscreen mode, starting at a location of 0, 0 extending to the full width and height of the frame, the frame decorations are getting erased. This is incorrect. When the user has chosen to have the decorations on, it must be preserved at all times and all other drawings must happen only within the client area. The decorations must not be erased. Also all the heavyweight components are erased alongwith the decorations.
This is noticed only on WinXP right from JDK1.4. This is not reproducible on Solaris.
I have attached a sample test. Execute the sample test. A frame would appear in fullscreen mode, with a button - 'draw'. Click on the button. This would actually draw a volatile image from 0,0 to width, height. You would notice that the decorations of the frame are no longer shown and they are hidden below the volatile image.
This is noticed only on WinXP right from JDK1.4. This is not reproducible on Solaris.
I have attached a sample test. Execute the sample test. A frame would appear in fullscreen mode, with a button - 'draw'. Click on the button. This would actually draw a volatile image from 0,0 to width, height. You would notice that the decorations of the frame are no longer shown and they are hidden below the volatile image.
- relates to
-
JDK-6619568 PIT: D3D: Frame decorations are painted over when changing the display mode, winXP
- Open