<AWT Dev> <AWT dev>[9] Review request for 8022810: Cannot list all the available display modes on Ubuntu linux in case of two screen devices

Semyon Sadetsky semyon.sadetsky at oracle.com
Mon May 30 17:24:08 UTC 2016


On 5/30/2016 8:07 PM, Sergey Bylokhov wrote:

> Hi, Semyon.
>
> 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.
I confirm that GraphicsDevice.getDisplayMode() will return the listed 
mode, at least the dimensions and color depth.

--Semyon
>
> On 27.05.16 14:25, Alexandr Scherbatiy wrote:
>> On 5/13/2016 9:53 AM, Semyon Sadetsky wrote:
>>> Hello,
>>>
>>> Please review fix for JDK9:
>>>
>>> bug: https://bugs.openjdk.java.net/browse/JDK-8022810
>>> webrev: http://cr.openjdk.java.net/~ssadetsky/8022810/webrev.00/
>>>
>>> Xrandr's XRRGetScreenInfo cannot be used to get display modes in case
>>> of Xinerama because there are no root windows for individual screens.
>>> It is replaced with XRRGetOutputInfo wich is the correct way to get
>>> modes for Xinerama screens.
>>>
>>> --Semyon
>>
>
>



More information about the awt-dev mailing list