Summary: | Resizing GLCanvas does not redraw immediately | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | morgan.mathiaut |
Component: | swt | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | crougier |
Priority: | P4 | ||
Version: | tbd | ||
Hardware: | All | ||
OS: | linux | ||
Type: | DEFECT | SCM Refs: | |
Workaround: | --- | ||
Attachments: | Reproducer |
Hi, Any update for this issue ? Regards I tested 2.4.0-rc-20200306 and the bug is still there Can't reproduce with (anymore) com.jogamp.opengl.test.junit.jogl.swt.TestSWTBug643AsyncExec Tested with SWT 4.26 (as deployed in JOGL for build and testing). TestSWTBug643AsyncExec does test our GLCanvas as well as NewtCanvasSWT without animator by default - hence should be comparable. If the bug still persists please reopen and discuss. Thank you. |
Created attachment 823 [details] 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 GLCanvas.