[cairo] Problems with GtkCairo widget

Øyvind Kolås islewind at gmail.com
Sun Aug 1 04:49:09 PDT 2004


On Sat, 31 Jul 2004 21:52:30 +0200, Patrick Aussems <paussems at dti-be.com> wrote:
> Hi everybody,
> 
> I'm writing an application that makes use of Cairo to draw custom Gtk
> widgets. Everything works fine except that when another windows comes in
> front of my widget the redraw of the widget seems occurs at the position
> of the overlapping window! This problem can be reproduced with the
> GtkCairo demo on cvs: launch the application, move a window with the
> left upper edge in the middle of your GtkCairo widget, and put away the
> overlapping window. I've setup a small page with screenshots at
> http://dti.dyndns.biz/~paussems/cairo_bug to illustrate the problem. I
> really hope someone will come up with a solution for this. If more
> informations are required feel free to send me an email.

I remember GtkCairo having this issue earlier, but it is countered by
translating the CTM in the expose handler shifted according to the
event that
occurs. I assume this is with the xlib backend and not the glitz backend,
can anyone else confirm this,. and under what circumstances it occurs?
Version of gtk+ would be good to know as well.



More information about the cairo mailing list