[jdk18] RFR: 8279227: Access Bridge: Wrong frame position and hit test result on HiDPI display [v4]
Alexander Zuev
kizune at openjdk.java.net
Tue Jan 18 03:19:32 UTC 2022
On Fri, 14 Jan 2022 17:31:09 GMT, Aleksandr Veselov <duke at openjdk.java.net> wrote:
>> Perform scaling while converting sizes and coordinates to provide correct positions of accessible elements on HiDPI screen and make hit-test work properly. It uses FontRenderContext to receive display scale without API changes.
>
> Aleksandr Veselov has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix converting coordinates when getting GC at point
>
> Also move GraphicsConfiguration search into AccessibilityGraphicsEnvironment
Tested on Windows 10 and Windows 11 with dual monitor configuration with different scale factors - last version of the fix seems to be working fine.
-------------
Marked as reviewed by kizune (Reviewer).
PR: https://git.openjdk.java.net/jdk18/pull/72
More information about the client-libs-dev
mailing list