<?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>317</bug_id>
          
          <creation_ts>2007-10-02 01:01:34 +0200</creation_ts>
          <short_desc>GLJPanel handleReshape bug</short_desc>
          <delta_ts>2015-09-27 03:09:34 +0200</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>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</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>333</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:50:49 +0100</bug_when>
    <thetext>


---- Reported by himuro 2007-10-02 01:01:34 ----

Hi.

I found a wrong algorithm in GLJPanel.
This code recreate pbuffer but judge algorithm is wrong.

--
[version] jogl-1.1.1-rc3
[src] GLJPanel.java
[line] 967-968

        if ((panelWidth &gt; pbufferWidth           )       || (panelHeight &gt;
pbufferHeight) ||
            (panelWidth &lt; (pbufferWidth / shrinkFactor)) || (panelHeight &lt;
(pbufferWidth / shrinkFactor))) {

--
in last statement
[wrong] (panelHeight &lt; (pbufferWidth / shrinkFactor)
[right] (panelHeight &lt; (pbufferHeight / shrinkFactor)

Please correct source.

Thanks.

--
--------------------------------------------------
Denso IT Laboratory, Inc.
   Keisuke UTO
  E-mail: kuto@d-itlab.co.jp
--------------------------------------------------



---- Additional Comments From kbr 2007-10-02 03:58:14 ----

Fixed obvious bug in algorithm as per submitter&apos;s comment. Fix will be present
in nightly builds dated 10/3 and later. Thanks for the patch.




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

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

    </bug>

</bugzilla>