Mac Canvas3D location bug
Posted by
jimthev on
Sep 16, 2013; 6:24pm
URL: https://forum.jogamp.org/Mac-Canvas3D-location-bug-tp4030052.html
I found this wonderful project and got our programs working except that the canvas location is broken on the MacOSX version. This is apparently a known bug but thought to be related to JDK7.
I'm running the Apple 1.6 Java on a 10.6 OSX and having the same problems. Running a simple Canvas3D placed off the origin in a null layout applet shows the problem (take any basic Java3D Applet example, set the layout manager to null and do a setBounds on the canvas with nonzero x and y values). The Canvas will show up at around 0, 500 or so rather than at the specified bounds location. The height/width seem correct.
I'm using Java3D from
http://jogamp.org/deployment/java3d/1.6.0-pre8/and Jogl from
https://jogamp.org/deployment/jogamp-current/archive/So my question is: will using Oracle's Java 7u40 on 10.8 fix this problem?
When I tried to debug this issue it seemed like I needed a debug build of
https://github.com/sgothel/jogl/blob/master/src/nativewindow/native/macosx/OSXmisc.mwhere VERBOSE is set to 1. I can't build the native OSX libraries, but if someone has a debug build of them, I'll test what values are getting sent into the native window side.