RFR: 8292588: [macos] Multiscreen/MultiScreenLocationTest/MultiScreenLocationTest.java: Robot.mouseMove test failed on Screen #0 [v2]
Alisen Chung
achung at openjdk.org
Thu Jan 26 00:19:20 UTC 2023
On Wed, 25 Jan 2023 20:58:16 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> The suggested change does fix the mouse pointer issue.
>
> However, the test still fails for me:
>
> ```
> Exception in thread "main" java.lang.RuntimeException: Robot.getPixelColor test failed on Screen #1!
> at MultiScreenLocationTest.main(MultiScreenLocationTest.java:98)
> ```
>
> Is it possible to add diagnostic information?
>
> If `moveMove` fails, one may want to see what the coordinates are, what the expected coordinates are and what the bounds of the current screen are.
>
> If `getPixelColor` fails, what is the color of the pixel and what is the expected color?
>
> These changes will be helpful for you while you debugging and updating the test as well as for anyone who has to deal with the test later.
Sure, I can add that. What fixed the issue for me for the latter two issues was setting the color profile of the second monitor in the system preferences. Under Display > Color I set Display Profile to be sRGB IEC61966-2.1 on the second monitor and the test then passes.
-------------
PR: https://git.openjdk.org/jdk/pull/10363
More information about the client-libs-dev
mailing list