[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: RFR: 8308191: [macOS] VoiceOver decorations are shifted on second monitor
From:       Kevin Rushforth <kcr () openjdk ! org>
Date:       2023-05-31 20:17:12
Message-ID: zpqyrvO0vKUtS1LaJz9wDj_jt4CI0OrmQR7F4sHIOVo=.1ef105e2-ade4-4d37-8db8-c8fc6f40fefa () github ! com
[Download RAW message or body]

On Tue, 30 May 2023 21:17:08 GMT, Alexander Zuev <kizune@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.

Marked as reviewed by kcr (Lead).

Looks good.

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

PR Review: https://git.openjdk.org/jfx/pull/1147#pullrequestreview-1454086879
PR Comment: https://git.openjdk.org/jfx/pull/1147#issuecomment-1570882690


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic