[cairo] Problems with GtkCairo widget

Patrick Aussems paussems at dti-be.com
Sun Aug 1 06:20:04 PDT 2004


Øyvind Kolås wrote:

>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.
>  
>
Yes, this is with the xlib backend. I'm using a debian sid system, with 
the following libraries versions:
- libgtk2.0-0: 2.4.4-2
- libcairo1: 0.1.23 (I've tested with cvs checkout from 20040729, same 
result)

Regards,

Patrick Aussems, DTI sa




More information about the cairo mailing list