Bug 1195

Summary: GLWindow.warpPointer is off by one in X-Dimension when on secondary monitor
Product: [JogAmp] Newt Reporter: Jesse <narf_bro>
Component: coreAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: ---    
Version: tbd   
Hardware: pc_x86_64   
OS: windows   
Type: DEFECT SCM Refs:
Workaround: ---

Description Jesse 2015-08-12 23:16:03 CEST
JOGL Version 2.3.1 (March 27, 2015)

When NewtCanvas is on my secondary monitor:

First call GLWindow.warpPointer(0, 0);
The next mouseMoved event from com.jogamp.newt.event.MouseListener gives position of 1, 0

When NewtCanvas is on my primary monitor, it works as expected and gives position of 0, 0

It is perhaps worth noting that I have a mixed resolution dual display, where my primary monitor is 1920x1200 and my secondary monitor is 1920x1080.

Also worth noting that I did not experience this issue in a much older former version (build 2.1.2 Nov 01, 2013)
Comment 1 Jesse 2015-08-13 15:37:45 CEST
Note - after further debugging, it appears that this happens when the canvas center's X coordinate is < 0.