<AWT Dev> [9] Review request for 8081371: [PIT] Test closed/java/awt/FullScreen/DisplayMode/CycleDMImage.java switches Linux to the single device mode

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Thu Jun 18 14:23:55 UTC 2015


please review the fix
for the issue

As known we are currently return a wrong list of display modes in multi 
screen environment[0].
Apparently the recent fullscreen mode fix[1] enables setDisplayMode() in 
such case. As result user gets an unwanted result.
This fix disables display mode change support for multi screen cases but 
keeps exclusive fullscreen support enabled.

[0] https://bugs.openjdk.java.net/browse/JDK-8022810 Cannot list all the 
available display modes on Ubuntu linux in case of two screen devices
[1] https://bugs.openjdk.java.net/browse/JDK-8051617 Fullscreen mode is 
not working properly on Xorg



More information about the awt-dev mailing list