Login  Register

Re: Mac Canvas3D location bug

Posted by Sven Gothel on Jan 14, 2014; 3:07pm
URL: https://forum.jogamp.org/Mac-Canvas3D-location-bug-tp4030052p4031212.html

On 01/14/2014 11:25 AM, Manu [via jogamp] wrote:
>     Sven Gothel wrote
>     A regression :(
>
> Shall we submit it to Oracle / OpenJDK? If yes, I would be ok to do it, except
> that you're in a much better technical position to submit a bug with all the
> information that will help Oracle to fix it quickly.

Great, do it then.
You can simply post the test case and state that the CALayer's position
seems to be handled differently w/ respective java versions.

I will test w/ that version later on ..

>
>     Sven Gothel wrote
>     I had to replace it with a much more simplified logic,
>     please test:
>
>       maven: 2.1.4-rc-20140113
>      
>     <http://jogamp.org/deployment/archive/master/gluegen_759-joal_509-jogl_1195-jocl_901/>
>     <http://jogamp.org/deployment/archive/master/gluegen_759-joal_509-jogl_1195-jocl_901/%3E>
>      
>     <http://jogamp.org/deployment/archive/master/gluegen_761-joal_511-jogl_1200-jocl_903-signed/>
>     <http://jogamp.org/deployment/archive/master/gluegen_761-joal_511-jogl_1200-jocl_903-signed/%3E>
>
>     Please report results.
>
>  
> Sorry, it doesn't work better with the last test I posted here.
> When you move the vertical split pane divider to change canvas abscissa, the
> canvas is placed in the lower left corner one time out of two.
> And in Sweet Home 3D case, once I close a window that contains a 3D canvas,
> the program gets blocked some way (with any Java version 1.6.0_65, 1.7.0_40 or
> 1.7.0_60 beta). This must be bound to canvas disposal, because if you add the
> following statements to  Canvas3DPositionTest
> <http://forum.jogamp.org/Mac-Canvas3D-location-bug-tp4030052p4030838.html>,
> the test gets blocked too:
>
>     // Wait a little to ensure that the frame is visible
>     Thread.sleep(1000);
>     // Dispose the frame and display it again
>     frame.dispose();
>     frame.setVisible(true);
That is expected, since you don't run it on the AWT EDT
after 1st visible command.

Also pls use the test cases I added based on your work
so we stay on the same page, i.e.:

  <http://jogamp.org/deployment/archive/master/gluegen_761-joal_511-jogl_1200-jocl_903-signed/jogl-applet-bug816_layerpos03a.html>
     com.jogamp.opengl.test.junit.jogl.awt.TestBug816OSXCALayerPos03aB729AWT

  <http://jogamp.org/deployment/archive/master/gluegen_761-joal_511-jogl_1200-jocl_903-signed/jogl-applet-bug816_layerpos03b.html>
     com.jogamp.opengl.test.junit.jogl.awt.TestBug816OSXCALayerPos03bB849AWT

~Sven



signature.asc (911 bytes) Download Attachment