Login  Register

Re: Mac Canvas3D location bug

Posted by Manu on Jan 14, 2014; 10:25am
URL: https://forum.jogamp.org/Mac-Canvas3D-location-bug-tp4030052p4031204.html

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.

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_761-joal_511-jogl_1200-jocl_903-signed/>

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, 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);
Emmanuel Puybaret