[jdk18] RFR: 8279227: Access Bridge: Wrong frame position and hit test result on HiDPI display [v3]

Sergey Bylokhov serb at openjdk.java.net
Tue Dec 28 08:25:10 UTC 2021


On Mon, 27 Dec 2021 14:55:10 GMT, Anton Tarasov <ant at openjdk.org> wrote:

>> Aleksandr Veselov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Pick graphics configuration from env instead of using FRC
>
> src/jdk.accessibility/windows/classes/com/sun/java/accessibility/internal/AccessBridge.java line 7363:
> 
>> 7361:          * @param  current the default configuration which is checked in the first
>> 7362:          *         place
>> 7363:          * @param  x the x coordinate of the given point
> 
> Please specify in which space the coordinates are expected.

> Hi, @mrserb, thanks for the review. Your idea is awesome and I've tried to implement it. It contains some copied code from `sun.java2d` but I can't import necessary methods without adding it to dependencies.

Probably we can export that to the "jdk.accessibility" module? We already export "sun.awt" the same way. @prrace any thoughts?
But it will be good to make sure that it will work on a multiscreen config before doing that. At least need to understand the root cause of that.

-------------

PR: https://git.openjdk.java.net/jdk18/pull/72



More information about the client-libs-dev mailing list