Bug 134 - Improve full-screen support on Windows
Summary: Improve full-screen support on Windows
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2005-01-31 03:54 CET by Sven Gothel
Modified: 2010-03-24 07:47 CET (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:47:23 CET


---- Reported by kbr 2005-01-31 15:54:44 ----

The Windows port of the Sun JDK contains a code path for full-screen support in
the case where -Dsun.java2d.noddraw=true which uses only GDI commands and which
is intended for use with OpenGL applications. Unfortunately this code
malfunctions as of 1.4.1 and  the GLCanvas typically ends up being the size of
the screen before the display change occurred. Rather than requiring all
applications to add workaround code, we may be able to schedule a resize when we
call the GLEventListener's init() method.



---- Additional Comments From kbr 2006-01-11 01:01:43 ----

The full-screen demos in demos.fullscreen in the jogl-demos workspace contain a
special GLEventListener called the "FullscreenWorkaround" which can be added
alongside another GLEventListener to fix up the size of the parent window when
in full-screen mode. Java SE 6 (Mustang) has fixed this problem completely on
all platforms with revised full-screen support for Windows and full-screen and
display change support on Linux for the first time. Given this it is not really
appropriate to add more code to the core JOGL implementation to work around
these old bugs. Closing as fixed, since the FullscreenWorkaround shows how to
work around this bug.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:47 EDT  ---

This bug was previously known as _bug_ 134 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=134