Bug 1012 - Erroneous handling of multiple monitor coordinates on OSX with NEWT
Summary: Erroneous handling of multiple monitor coordinates on OSX with NEWT
Status: RESOLVED FIXED
Alias: None
Product: Newt
Classification: JogAmp
Component: macosx (show other bugs)
Version: 1
Hardware: All all
: --- major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-05-26 18:58 CEST by Sven Gothel
Modified: 2014-05-26 19:28 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
759d90674d977bae24ba58684fad3830f7f0d40f
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2014-05-26 18:58:37 CEST
Calculation of 'location on screen' (LOS),
top-left and bottom-left coordinate conversion 
for windows and simple points in a multiple monitor scenario
are wrong.
Comment 1 Sven Gothel 2014-05-26 19:28:48 CEST
759d90674d977bae24ba58684fad3830f7f0d40f

Bug 1012: Fix erroneous handling of multiple monitor coordinates on OSX with NEWT

To properly convert Top-Left (TL) from/to Bottom-Left (BL) coordinates
we need to utilize the given CGDisplay viewport (TL)
and NSScreen (BL) to perform the y-flip.

This is especially true for the case of having multiple monitors
covering different viewports (mixed resolution).