Bug 278265 - GLCanvas sometimes doesn't draw background correctly
Summary: GLCanvas sometimes doesn't draw background correctly
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 14:25 EDT by Bryan Hunt CLA
Modified: 2019-09-06 16:10 EDT (History)
1 user (show)

See Also:


Attachments
movie showing the problem (230.90 KB, video/quicktime)
2009-05-28 14:25 EDT, Bryan Hunt CLA
no flags Details
fix (715 bytes, patch)
2009-05-28 16:43 EDT, Silenio Quarti CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Hunt CLA 2009-05-28 14:25:12 EDT
Build I20090527-2000

GLCanvas is working much better in this build, but there's still a problem drawing the initial background.  Sometimes when I bring my view up, the canvas doesn't paint, and sometimes it does.  I'll attach a movie showing this behavior.  The first time I opened the view, it rendered as expected, the second time, the can vas didn't draw until I resized the view.
Comment 1 Bryan Hunt CLA 2009-05-28 14:25:48 EDT
Created attachment 137532 [details]
movie showing the problem
Comment 2 Silenio Quarti CLA 2009-05-28 16:05:43 EDT
What is the code doing? It only creates a GLCanvas and never draws anything?
Comment 3 Silenio Quarti CLA 2009-05-28 16:43:44 EDT
Created attachment 137551 [details]
fix

Try try this patch. I was able to reproduce this problem only when the GLCanvas has scrollbars. Does your GLCanvas have scrollbars?
Comment 4 Bryan Hunt CLA 2009-05-29 00:58:20 EDT
Yes, my GLCanvas has a horizontal scroll bar.  I'll try the patch as soon as I can.
Comment 5 Silenio Quarti CLA 2009-05-29 09:27:09 EDT
I am not sure this really fixed it, I still got the problem running with the patch.
Comment 6 Eclipse Webmaster CLA 2019-09-06 16:10:43 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.