<AWT Dev> <AWT dev> Review request for 8022810: Cannot list all the available display modes on Ubuntu linux in case of two screen devices
Sergey.Bylokhov at oracle.com
Mon May 30 17:35:06 UTC 2016
On 30.05.16 20:24, Semyon Sadetsky wrote:
>> Will all these new display modes be accepted by the
>> GraphicsDevice.setDisplayMode(dm)? Also please confirm that the new
>> modes include the mode returned from GraphicsDevice.getDisplayMode().
> The bug was filed against the getDisplayModes(). The setDisplayModes()
> will work after the fix in the same way as it worked before, I did not
> change it.
Before the fix we returned only one mode(which I assume was current) and
setDisplayMode() was a noop. Is that correct?
After the fix the list of supported modes was changed and
setDisplayMode() should not throw an exception when some of new modes
will be set to device. Please confirm that these new modes can be used
as a parameter to setDisplayMode()(and resolution changed).
Best regards, Sergey.
More information about the awt-dev