Bug 1324 - GLCanvas is always on top when using JInternalFrame
Summary: GLCanvas is always on top when using JInternalFrame
Status: UNCONFIRMED
Alias: None
Product: Jogl
Classification: JogAmp
Component: macosx (show other bugs)
Version: 3.0.0
Hardware: All macosx
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2016-09-28 12:08 CEST by Laurent Renard
Modified: 2023-07-12 01:43 CEST (History)
1 user (show)

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments
Test case. (3.36 KB, text/plain)
2016-09-28 12:08 CEST, Laurent Renard
Details
Screenshot showing overlap issue (48.52 KB, image/png)
2016-09-28 12:11 CEST, Laurent Renard
Details

Note You need to log in before you can comment on or make changes to this bug.
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