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

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Aug 31 08:11:40 UTC 2016


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
>>
>>
>
>



More information about the awt-dev mailing list