Integrated: 8308191: [macOS] VoiceOver decorations are shifted on second monitor

Alexander Zuev kizune at openjdk.org
Wed May 31 20:33:16 UTC 2023


On Tue, 30 May 2023 21:17:08 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> The coordinate system of the Mac OS X is reversed to the JavaFX coordinate system meaning that zero point [0,0] is the bottom left corner of the main screen and positive Y coordinate means elevation of the point above the zero line. Taking that into account we should use the main screen's height in order to calculate the correct vertical offset of the window - even if coordinates are physically on the secondary screen, otherwise on screens with different height that are not aligned along the bottom border we will have a wrong vertical position.

This pull request has now been integrated.

Changeset: f8c8a8a1
Author:    Alexander Zuev <kizune at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/f8c8a8a1f98902ab6c7923a9b0897106ea957ba8
Stats:     3 lines in 1 file changed: 0 ins; 2 del; 1 mod

8308191: [macOS] VoiceOver decorations are shifted on second monitor

Reviewed-by: angorya, kcr

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

PR: https://git.openjdk.org/jfx/pull/1147


More information about the openjfx-dev mailing list