Bug 1324

Summary: GLCanvas is always on top when using JInternalFrame
Product: [JogAmp] Jogl Reporter: Laurent Renard <laurent.vqr>
Component: macosxAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: normal CC: laurent.vqr
Priority: P4    
Version: 2.5.0   
Hardware: All   
OS: macosx   
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: Test case.
Screenshot showing overlap issue

Description Laurent Renard 2016-09-28 12:08:41 CEST
Created attachment 790 [details]
Test case.

Environment :
java version "1.8.0_102"
OSX El Capitan

When I insert a GLCanvas in a JInternalFrame, the GLCanvas is always displayed on top of the other internal frames. It is also displayed on top of a toolbar I have in my test window.

In the test application, I have 4 internal frames with different component inside :
-a JPanel
-a GLCanvas
-a AWT Canvas
-a GLJPanel

Only the GLCanvas is affected by this issue.

I have use a custom build of jogl with the patch mentioned in bug 1307 : https://jogamp.org/bugzilla/attachment.cgi?id=786

This patch has corrected an issue where the GLCanvas won't "follow" its internal frame but it does not correct the overlap issue.

In my main application I have scrollbars on top of the GLCanvas but there are not visible. I did not add them to the test case to simplify.
Comment 1 Laurent Renard 2016-09-28 12:11:20 CEST
Created attachment 791 [details]
Screenshot showing overlap issue

Add a screenshot.
Comment 2 Laurent Renard 2016-10-03 11:04:46 CEST
I haven't found any workaround yet to force the GLCanvas to be behind other components.

I somebody can point me in the right direction, I can have a look at the code. I am not a OSX expert but maybe I can find something.
Comment 3 Sven Gothel 2019-03-30 05:06:57 CET
Putting this on version for now 2.5.0