<?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>234</bug_id>
          
          <creation_ts>2006-07-07 02:12:34 +0200</creation_ts>
          <short_desc>Using non resizable borders causes jogl to display incorrectly</short_desc>
          <delta_ts>2010-03-24 07:49:13 +0100</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</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>250</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:49:13 +0100</bug_when>
    <thetext>


---- Reported by torch23 2006-07-07 14:12:34 ----

When using jogl (either a GLJPanel or GLCanvas) with a non-resizable border
causes the viewport to be shifted (e.g. down and right by  2 pixels). You can
see this from the following code which shows a black border when the resizable
frame is uncommented 

SImgGLViewer glv = new SImgGLViewer(...);
JFrame fr = new JFrame();
fr.add(glv);
fr.pack();
//fr.setResizable(true);
fr.setVisible(true);

Or perhaps you need to correct for this manually?



---- Additional Comments From kbr 2006-07-08 17:01:24 ----

Something is wrong with this bug report because JFrames are resizable by
default, so commenting out a call to JFrame.setResizable(true) is a no-op. I
tried modifying the VertexProgRefract demo to use a JFrame and switched between
having it resizable and not with no change in behavior (with both JDK 1.4.2 and
5.0). This must be a problem with the application. Please investigate it further
and post on the forums rather than filing a bug if you continue to have problems.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT  ---

This bug was previously known as _bug_ 234 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=234
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>