GLWindow loses focus after maximizing (OSX)

classic Classic list List threaded Threaded
1 message Options
ac
Reply | Threaded
Open this post in threaded view
|

GLWindow loses focus after maximizing (OSX)

ac
This is a downstream bug in Processing (https://github.com/processing/processing/issues/3339) but I'm able to reproduce in JOGL.

The problem is that NEWT's mouse listener does not generate new events after maximizing the GLWindow, unless one clicks on the title bar of the window, or switches back and forth with other open applications.

I tested it on Mac OS X 10.9.5, with the test build of JOGL from September 1. Windows and Linux don't exhibit this problem.

Here you have my test code:

https://github.com/codeanticode/jogl2-tests/blob/master/src/test/windows/WindowFocusNEWT.java

Andres