Bug 1195 - GLWindow.warpPointer is off by one in X-Dimension when on secondary monitor
Summary: GLWindow.warpPointer is off by one in X-Dimension when on secondary monitor
Status: UNCONFIRMED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: tbd
Hardware: pc_x86_64 windows
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2015-08-12 23:16 CEST by Jesse
Modified: 2019-03-29 13:58 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.