<AWT Dev> [9] Review request for 8163100: [hidpi] Linux: display-wise scaling factor issues

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Aug 31 11:07:08 UTC 2016


Looks fine.

On 31.08.16 11:11, Semyon Sadetsky wrote:
> On 8/30/2016 11:57 PM, Sergey Bylokhov wrote:
>
>> Why in X11GraphicsDevice.java we cannot call initScaleFactor()
>> directly without isUIScaleEnabled() check like we do on win/osx? The
>> same check is made inside this method.
> don't see why this check is bad, but since it is not very necessary I
> have removed it:
> http://cr.openjdk.java.net/~ssadetsky/8163100/webrev.01/
>>
>> On 30.08.16 16:26, Semyon Sadetsky wrote:
>>> Hello,
>>>
>>> Please review fix for JDK9:
>>>
>>> bug: https://bugs.openjdk.java.net/browse/JDK-8163100
>>>
>>> webrev: http://cr.openjdk.java.net/~ssadetsky/8163100/webrev.00/
>>>
>>> - UI scale listener is added to track system scale changes in Java.
>>>
>>> - Support for individual monitor scale is removed in case of Xinerama
>>> because it is not supported in native apps.
>>>
>>> - Bug with display name comparison during reading of system scale
>>> settings is fixed.
>>>
>>> --Semyon
>>>
>>>
>>
>>
>


-- 
Best regards, Sergey.


More information about the awt-dev mailing list