You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tracked this down to some kind of problem with libgdiplus, or possibly
cairo.
On startup, the canvas is painted white with one call to Graphics.FillRectangle
(SurfaceBox.OnPaint), but the paint apparently never happens, the area is
transparent until a refresh is forced.
Changing the Fill call to use X directy with a corresponding XFillRectangle
call
works properly, so the window is getting the right expose events at the right
time.
libgdiplus/cairo is using is a bit more envolved, but it ends up doing
cairo_rectangle and cairo_fill (which uses XRenderFillRectangle), and that code
path
is used extensively in System.Drawing, so I'm not sure what's going on here...
request caching, not flushing properly?
For now, I'll leave an extra Invalidate call to force a new paint event, which
refreshes the window properly, while this issue is investigated.
Original comment by shana.u...@gmail.com on 11 Oct 2008 at 9:50
Original issue reported on code.google.com by
miguel.d...@gmail.comon 12 May 2007 at 11:32The text was updated successfully, but these errors were encountered: