Posted by
Sven Gothel on
Mar 11, 2013; 10:59pm
URL: https://forum.jogamp.org/Javafx-causes-jogl-problem-in-mac-tp4028417p4028586.html
On 03/11/2013 08:40 PM, runiter [via jogamp] wrote:
> okay Newt experiment so far been a failure. I finally managed to get it to
> work on windows, but that did not fix the problem Mac OS X, in fact it made it
> worse. At least with JoglAwt it used to work fine if I didn't have JavaFx, but
> with Newt even without Javafx it doesn't work properly.
>
> What happens is that the Canvas for some reason is rendered at a wrong
> location so that half of my JFrame is empty, half of it is Canvas (upper right
> corner). In that half the Canvas covers the Toolbar!!
This is a known problem w/ OSX and CALayer, including NewtCanvasAWT
and it will be fixed soon. A partial fix of this problem is already
committed:
git:
http://jogamp.org/git/?p=jogl.git;a=commit;h=af384debfdf354d98e3d0d0c6e0c5cf5a967904e aggregated build:
http://jogamp.org/deployment/archive/master/gluegen_645-joal_407-jogl_928-jocl_754/archive/However, I will walk through all OSX unit test manually to check for
any misplaced CALayer, yes - this is a tedious situation.
So within 1-2 weeks, this will be solved for our unit tests using:
- AWT, Newt, NewtCanvasAWT
However, I have not worked w/ JavaFX itself. Just thought I should mention
above OSX situation, which seems to be related.
~Sven