Login  Register

Re: Resize flickering with AWT GLCanvas and JOGL 2.4.0

Posted by Celine on Mar 09, 2023; 3:53pm
URL: https://forum.jogamp.org/Resize-flickering-with-AWT-GLCanvas-and-JOGL-2-4-0-tp4042181p4042316.html

Hello

I did more tests especially with OpenJDK 17. In summary, GLCanvas background flickers when canvas is resized :
- on Windows with Java 11 and JOGL 2.4.0 (regression)
- on Ubuntu with Java 11 and JOGL 2.3.2 or 2.4.0
- on Windows and Ubuntu with Java 17 and JOGL 2.3.2 or 2.4.0
Setting the "sun.awt.noerasebackground" property to true solves this issue in all cases.

I filed a bug report with all the details here : https://jogamp.org/bugzilla/show_bug.cgi?id=1430.
Let me know if you need more information.

Thanks,
Regards