<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1195</bug_id>
          
          <creation_ts>2015-08-12 23:16:03 +0200</creation_ts>
          <short_desc>GLWindow.warpPointer is off by one in X-Dimension when on secondary monitor</short_desc>
          <delta_ts>2019-03-29 13:58:10 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>core</component>
          <version>tbd</version>
          <rep_platform>pc_x86_64</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jesse">narf_bro</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4928</commentid>
    <comment_count>0</comment_count>
    <who name="Jesse">narf_bro</who>
    <bug_when>2015-08-12 23:16:03 +0200</bug_when>
    <thetext>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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4933</commentid>
    <comment_count>1</comment_count>
    <who name="Jesse">narf_bro</who>
    <bug_when>2015-08-13 15:37:45 +0200</bug_when>
    <thetext>Note - after further debugging, it appears that this happens when the canvas center&apos;s X coordinate is &lt; 0.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>