Login  Register

Re: 2.4.0 release date?

Posted by CharlieBoy on Nov 05, 2019; 9:07pm
URL: https://forum.jogamp.org/2-4-0-release-date-tp4040073p4040129.html

Thanks for the advice, it worked.  I got the .7z file uncompressed with a friend's help.

But it doesn't solve the problem that I hoped it would.

I identified the problem as JOGL Bug 1370 "NSWindow drag regions should only be invalidated on the Main Thread!". The behavior I saw was that the JOGL canvas was not properly drawn in its window but at some offset. And I saw this error message:

2019-11-05 09:12:40.954 java[29310:4710461] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
        0   AppKit                              0x00007fff3be482e3 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
        1   AppKit                              0x00007fff3be4568c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
        2   AppKit                              0x00007fff3be450b6 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
        3   libnativewindow_macosx.jnilib       0x00000001a08763fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
        4   ???                                 0x0000000111641667 0x0 + 4586739303
)

Even after installing the new .dylib files and .jar files these problems remain.

Note: the distribution that I downloaded does not seem to include any awt support (The provided jar files include:
jogl-all-android-natives-macosx-universal.jar
jogl-all-mobile-natives-macosx-universal.jar
jogl-all-mobile.jar
jogl-all-noawt-natives-macosx-universal.jar
jogl-all-noawt.jar
jogl-test-android.jar)

I was not able to remove the previous jogl-all.jar (which included awt support), since otherwise I got many compile errors.

And the fact that "jnilib" appears in the stack trace above implies to me that it is also not finding the new .dylib libraries but is using the older .jnilib ones (that I tried to remove from view but perhaps are cached in some strange way or appear somewhere on the search path), perhaps because it is linking to the older jogl-all.jar file.

I appreciate any help you can provide.