Project: SWT
Bug 343331 [Mac] GLCanvas draws on top of fast views
Reported: 2011-04-19 22:04:42 | Status: resolved fixed

Build Identifier: 20110218-0911 GLCanvas cannot be occluded by fast views, it just draws happily on top of them. Reproducible: Always Steps to Reproduce: 1) Launch the IDE product including the 2 attached plugins (org.lwjgl and testcase). 2) Show the "Bug View" from the "Bug Category". The canonical spinning torus example should appear in a view. 3) Minimize another view and then reveal it such that it overlaps the bug view... the GLCanvas of the bug view keeps drawing the torus on top of the fast view.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT OpenGL/cocoa/org/eclipse/swt/opengl/GLCanvas.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLContext.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Canvas.java