[jdk17u-dev] RFR: 8278609: [macos] accessibility frame is misplaced on a secondary monitor on macOS
Jonathan Dowland
jdowland at openjdk.org
Fri Jul 1 09:26:25 UTC 2022
Hi all,
This pull request contains a backport of commit [ad128284](https://github.com/openjdk/jdk/commit/ad1282842c5eefdad151afe6f4db97a09d643546) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
The commit being backported was authored by Aleksandr Veselov on 20 Dec 2021 and was reviewed by Anton Tarasov and Alexander Zuev. I'd like to backport this for Oracle JDK17 parity.
A few notes on testing. There are no tests in the patch. The JBS bug says only this in terms of reproducing the issue:
> When an app is displayed on a secondary monitor whose vertical resolution differs from the primary monitor, accessibility outline frame gets misplaced while navigating UI elements.
> This can be easily reproduced with SwingSet2, for instance.
I built and ran https://github.com/xjrga/swingset2 on macOS 11.5.2 (20G95) with an external display with a deliberately different resolution from the mac's internal panel, but I could not reproduce the original issue.
The patch itself backports clean. I ran swingset2 afterwards and noticed no obvious difference (but all the various widgets worked fine)
If anyone wants to suggest any further specific manual tests I could perform to reproduce the original issue or validate the fix I'm happy to try them.
-------------
Commit messages:
- Backport ad1282842c5eefdad151afe6f4db97a09d643546
Changes: https://git.openjdk.org/jdk17u-dev/pull/520/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=520&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8278609
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/520.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/520/head:pull/520
PR: https://git.openjdk.org/jdk17u-dev/pull/520
More information about the jdk-updates-dev
mailing list