Bug 1012

Summary: Erroneous handling of multiple monitor coordinates on OSX with NEWT
Product: [JogAmp] Newt Reporter: Sven Gothel <sgothel>
Component: macosxAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: major    
Priority: ---    
Version: 1   
Hardware: All   
OS: all   
Type: --- SCM Refs:
759d90674d977bae24ba58684fad3830f7f0d40f
Workaround: ---

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).