-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
x86
-
solaris_2.5.1
Name: gm110360 Date: 08/25/2004
A DESCRIPTION OF THE REQUEST :
It has come to my attention that you cannot change the screen's DisplayMode in Linux while in fullscreen mode. I don't know if there is a reason that this feature has not been supported on Linux.
JUSTIFICATION :
Having the ability to change the dimensions of the screen allows the user to expirience a more immersive game. Changing the dimensions on a screen is also useful for many other types of media software.
Linux is a large development OS if I cannot expect the same results on my Linux system as on any other windows system then what is the use of a VM that runs much slower than native c code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The screen will be able to be resized using the setDisplayMode() method of the GraphicsDevice class.
ACTUAL -
The GraphicsDevice object currently reports any DisplyMode changes to be unsupported.
---------- BEGIN SOURCE ----------
// Get the current graphics device
GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice device = environment.getDefaultScreenDevice();
// Create a display mode to change to.
DisplayMode displayMode = new DisplayMode(800, 600, 16, DisplayMode.REFRESH_RATE_UNKNOWN);
// This current object is a subclass of window
device.setFullScreenWindow(this);
// Set the display mode if changing the display mode is supported.
if(displayMode != null && device.isDisplayChangeSupported()){
device.setDisplayMode(displayMode);
}
---------- END SOURCE ----------
(Incident Review ID: 296835)
======================================================================
A DESCRIPTION OF THE REQUEST :
It has come to my attention that you cannot change the screen's DisplayMode in Linux while in fullscreen mode. I don't know if there is a reason that this feature has not been supported on Linux.
JUSTIFICATION :
Having the ability to change the dimensions of the screen allows the user to expirience a more immersive game. Changing the dimensions on a screen is also useful for many other types of media software.
Linux is a large development OS if I cannot expect the same results on my Linux system as on any other windows system then what is the use of a VM that runs much slower than native c code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The screen will be able to be resized using the setDisplayMode() method of the GraphicsDevice class.
ACTUAL -
The GraphicsDevice object currently reports any DisplyMode changes to be unsupported.
---------- BEGIN SOURCE ----------
// Get the current graphics device
GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice device = environment.getDefaultScreenDevice();
// Create a display mode to change to.
DisplayMode displayMode = new DisplayMode(800, 600, 16, DisplayMode.REFRESH_RATE_UNKNOWN);
// This current object is a subclass of window
device.setFullScreenWindow(this);
// Set the display mode if changing the display mode is supported.
if(displayMode != null && device.isDisplayChangeSupported()){
device.setDisplayMode(displayMode);
}
---------- END SOURCE ----------
(Incident Review ID: 296835)
======================================================================
- duplicates
-
JDK-4661156 Full screen exclusive mode and display change are not supported under Linux
-
- Resolved
-