Community
Participate
Working Groups
If I add a PaintListener on a GLCanvas, the canvas is not updated to reflect the drawings made on the paintControl method. Before BigSur, I could avoid this bad behavior by adding a child component on the canvas. I added a new Label as a child of the GLCanvas and sized it to 1px x 1px. Doing this made the drawings made on paintControl appear. But now even this workaround is useless.
Can you please provide a snippet to reproduce the problem?
Created attachment 286469 [details] Snippet that reproduces the bug There you go, a snippet. Comment / uncomment lines 33 and 36 to see the difference in behavior. This same snippet can be used to reproduce Bug 570649.