<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
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Tue May 31 14:18:53 UTC 2016
On 31.05.16 17:09, Semyon Sadetsky wrote:
> This is not true. Current mode is returned for screen > 0
Does it mean that this part in the description is incorrect?
============================
Compile and run it on a system with two displays. Here is output when
both display are switched on (note: only current resolutions are listed):
Device: X11GraphicsDevice[screen=0]
Resolutions:
966x1280
Device: X11GraphicsDevice[screen=1]
Resolutions:
920x1280
============================
Then try to switch one of the displays (e.g., System Settings->Displays
etc.) off and run the test again. The test output looks like:
Device: X11GraphicsDevice[screen=0]
Resolutions:
966x1280
960x1280
768x1024
600x800
480x640
============================
>> the list of supported modes changed and my question was: what happens
>> when these modes will be passed to setDisplayMode() (of course modes
>> and setDisplayMode should be from one GraphicsDevice object).
> the same as before the fix.
> ---
> Do you see any other concerns to the fix?
--
Best regards, Sergey.
More information about the awt-dev
mailing list