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

Aleksandr Veselov duke at openjdk.java.net
Fri Dec 24 09:59:39 UTC 2021


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.

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

Commit messages:
 - 8279227: Access Bridge: Wrong frame position and hit test result on HiDPI display

Changes: https://git.openjdk.java.net/jdk18/pull/72/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=72&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279227
  Stats: 42 lines in 1 file changed: 42 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk18/pull/72.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/72/head:pull/72

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



More information about the client-libs-dev mailing list