Bug 1322

Summary: JOGL sets pixel scale to 2 for GLJPanel not on Retina display
Product: [JogAmp] Jogl Reporter: Andy Skinner <askinner>
Component: macosxAssignee: Sven Gothel <sgothel>
Status: CONFIRMED ---    
Severity: normal    
Priority: P4    
Version: 2.5.0   
Hardware: All   
OS: macosx   
Type: DEFECT SCM Refs:
Workaround: ---
Bug Depends on:    
Bug Blocks: 1373    

Description Andy Skinner 2016-07-28 22:07:43 CEST
We use a GLJPanel.  I'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't know why this happens.

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