<?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>1322</bug_id>
          
          <creation_ts>2016-07-28 22:07:43 +0200</creation_ts>
          <short_desc>JOGL sets pixel scale to 2 for GLJPanel not on Retina display</short_desc>
          <delta_ts>2023-07-12 01:14:43 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>macosx</component>
          <version>2.5.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>macosx</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>1373</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andy Skinner">askinner</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>5673</commentid>
    <comment_count>0</comment_count>
    <who name="Andy Skinner">askinner</who>
    <bug_when>2016-07-28 22:07:43 +0200</bug_when>
    <thetext>We use a GLJPanel.  I&apos;m running on a Mac laptop with Retina display, and an external non-Retina display.  When I put my GLJPanel on the external display and close the laptop cover, everything from the laptop display moves over to the external one.  The GLJPanel gets displayed.

When I open the cover again, I get a reshape (twice as big as if the GLJPanel were on the Retina display) and then a display, then it gets reshaped back to its original size. Sometimes I see a flash of junk drawn in the GLJPanel.

When I turn on debug logs, I see that setNewPixelScale for the GLJPanel, which is why it gets reshaped temporarily to twice the size.  I don&apos;t know why this happens.

I may be able to investigate further in a couple of weeks, but I thought I&apos;d report it in the meantime.  I will try with a short standalone JOGL program.

andy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6790</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-07-12 01:14:43 +0200</bug_when>
    <thetext>Resolution addressed in commit referenced in Bug 1373 comment 5 etc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>