Login  Register

Re: JOGL does not work on versions higher than eclipse 2021-03

Posted by Alexis Drogoul on Oct 08, 2021; 4:56pm
URL: https://forum.jogamp.org/JOGL-does-not-work-on-versions-higher-than-eclipse-2021-03-tp4041328p4041363.html

Hi Marcel,

Thanks a lot. I've begun transitioning to the NEWT canvases, but the road is still a bit bumpy !

The point 1. (key listeners grabbing the focus) is an issue in that it does not apply to all the keystrokes. Some "pass through" and reach SWT (and then the Workbench), some do not. For instance, CTRL+Q (or CMD+Q) is ok, probably because it is natively listened to. However, if I declare a filter for a given keystroke on the Display, supposed to bypass all listeners, nothing happens when the Canvas has the focus, as if it was absorbing non-native keystrokes.

For point 2., glad if it is fixed on Windows and Linux, but macOS is not, you're right. I had resorted to an IPerspectiveListener (but I might give IPartListener a try) since all my openGL should be hidden in a given perspective and visible in another.

For point 3. my concern is that "fullscreen" in GAMA actually allows the user to open some companion toolboxes and toolbars  alongside the "fullscreen" display. These companion toolboxes/toolbars are SWT controls, and, unless we can somehow have them "floating" above the fullscreen NEWT window (is it possible ?), we will lose this functionality.

I'll continue digging in the coming days and report on my progresses !

Cheers
Alexis