Community
Participate
Working Groups
Created attachment 276961 [details] Bug reproducer Using the attached reproducer, make the window fullscreen by clicking the window decoration fullscreen button. Only a portion of the fullscreen window is drawn in orange, while the whole window should be drawn orange. This can also be reproduced by resizing the window very fast, a small portion of the window is not drawn with the correct color. This bug does not happen on windows. Adding a call to redraw() in display() works around the issue. My guess is that only the previous size of the window is marked as dirty and redrawn by SWT.
Hi, I have the same bug. Do you have any workaround or fix ? Regards
Hello, Any news about this issue ? Please, could you help us with a fix. Thank you.
What needs to be imported in order to run the snippet? I'm having trouble getting it to run.
(In reply to Eric Williams from comment #4) > I'm having trouble getting it to run. Me too. But atm more from bug 529151 given me following exception for the snippet Exception in thread "main" java.lang.ExceptionInInitializerError at com.jogamp.opengl.swt.GLCanvas.<init>(GLCanvas.java:321) at OpenGLTest.<init>(OpenGLTest.java:35) at OpenGLTest.main(OpenGLTest.java:24) Caused by: javax.media.nativewindow.NativeWindowException: java.lang.NoSuchFieldException: GTK_VERSION at com.jogamp.nativewindow.swt.SWTAccessor.<clinit>(SWTAccessor.java:202) ... 3 more Caused by: java.lang.NoSuchFieldException: GTK_VERSION at java.lang.Class.getField(Class.java:1703) at com.jogamp.nativewindow.swt.SWTAccessor.<clinit>(SWTAccessor.java:182) ... 3 more
(In reply to Paul Pazderski from comment #5) > (In reply to Eric Williams from comment #4) > > I'm having trouble getting it to run. > > Me too. But atm more from bug 529151 given me following exception for the > snippet > Exception in thread "main" java.lang.ExceptionInInitializerError > at com.jogamp.opengl.swt.GLCanvas.<init>(GLCanvas.java:321) > at OpenGLTest.<init>(OpenGLTest.java:35) > at OpenGLTest.main(OpenGLTest.java:24) > Caused by: javax.media.nativewindow.NativeWindowException: > java.lang.NoSuchFieldException: GTK_VERSION > at com.jogamp.nativewindow.swt.SWTAccessor.<clinit>(SWTAccessor.java:202) > ... 3 more > Caused by: java.lang.NoSuchFieldException: GTK_VERSION > at java.lang.Class.getField(Class.java:1703) > at com.jogamp.nativewindow.swt.SWTAccessor.<clinit>(SWTAccessor.java:182) > ... 3 more Which GLCanvas class is that? GLCanvas.java in SWT doesn't have a line 321.
com.jogamp.opengl.swt.GLCanvas as used in the snippet.
(In reply to Paul Pazderski from comment #7) > com.jogamp.opengl.swt.GLCanvas as used in the snippet. This isn't from SWT, sounds like an issue with the JogAmp library.
Hi, Can I help in something ? Thanks
(In reply to Morgan Mathiaut from comment #9) > Hi, > > Can I help in something ? > > Thanks Can provide a snippet that reproduces the issue using only SWT? The snippet from OP has other libraries in it and I can't get it to run.
Hi, Sorry but we wan't reproduce the issue without JOGL. To run the snippet you need to import JOGL-all.jar and gluegen-rt.jar. Regards
(In reply to Morgan Mathiaut from comment #11) > Hi, > > Sorry but we wan't reproduce the issue without JOGL. > To run the snippet you need to import JOGL-all.jar and gluegen-rt.jar. > > Regards If the issue does not reproduce using only SWT, then the bug is likely somewhere in JOGL and not SWT. Some cursory research tells me that JOGL is using its own SWT Canvas/GLCanvas implementation, and the bug lies somewhere in there.