I'm experimenting with the AWT sample app here:
https://jogamp.org/wiki/index.php/Using_JOGL_in_AWT_SWT_and_SwingWhen I build OneTriangleAWT exactly as provided, I can drag the app between my two screens and it continues to resize and redraw properly.
However, if I enable the stencil buffer, it freezes after dragging to another screen.
I'm enabling the stencil buffer by adding this single line before creating the GLCanvas:
glcapabilities.setStencilBits(8);
Setting the system property "jogl.screenchange.action" to true or false doesn't change the behavior.
This is only happening with v2.3.2
If I revert back to v2.3.1 the problem goes away.
This bugfix looks like it might have caused this regression:
http://jogamp.org/git/?p=jogl.git;a=commitdiff;h=6ae08be1742e6d805b316c0d440364854a49e68fI searched the open bugs and found this old one which looks similar, but the fact that it goes away for me by reverting the jogl version makes me think this is a different issue. Plus that bug doesn't mention AWT.
https://jogamp.org/bugzilla/show_bug.cgi?id=995NOTE: I began experimenting with this sample app because I am observing the exact issue with a very large legacy application which actually uses the stencil buffer. Reverting the library version to v2.3.1 also fixes the issue with my legacy app.