|Summary:||AWT Toolkit disableBackgroundErase() ineffective since Java 7, flickering visible at resize of GLCanvas|
|Product:||[JogAmp] Jogl||Reporter:||Sven Gothel <sgothel>|
|Component:||awt||Assignee:||Sven Gothel <sgothel>|
Description Sven Gothel 2015-07-27 01:59:38 CEST
Comment 1 Sven Gothel 2015-07-28 01:28:53 CEST
Manual resize worked well in Java 6. +++ Seems like that the Container holding the GLCanvas (etc) are not fully covered by the GLCanvas at manual resize due to deferred resizing on the platform? In such case, the inner GLCanvas does not completely cover its container [clipping] space and 'Container.update(Graphics)' performs a Graphics.clearRect(..). A tedious workaround would be to override all 'Container.update(Graphics)' methods to skip the clearRect call (similar to GLCanvas). Further there is the 'infamous' system property: sun.awt.noerasebackground=true Also see: <https://stackoverflow.com/questions/5452439/awt-canvas-flickering-on-manual-resize> Nothing we can do here, I am afraid. INVALID: b/c this doesn't seem to be our bug. If anybody has a proper workaround/solution, please reopen this bug so we can adopt the patch.