Re: partial redraws



On 05.10.2010 01:16, Damon Chaplin wrote:
> On Mon, 2010-10-04 at 18:10 +0300, Stefan Kost wrote:
>   
>> Am 04.10.2010 14:23, schrieb Damon Chaplin:
>>     
>>> On Mon, 2010-10-04 at 13:27 +0300, Stefan Kost wrote:
>>>
>>>       
>>>> The code is at
>>>> http://cgit.freedesktop.org/~ensonic/gst-tracelib/
>>>> the whole part that actually uses goo-canvas is in:
>>>> http://cgit.freedesktop.org/~ensonic/gst-tracelib/tree/src/ui/main-window.c
>>>>
>>>> There are no custom items - it uses group, rect, text and polyline.
>>>>         
>>> Yes, I can reproduce it.
>>>
>>>       
>> Thanks for trying it out.
>>
>>     
>>> It does look like a bug. My guess would be that all the fast adding &
>>> moving of items has confused it - maybe a race condition somewhere.
>>>
>>> Is your app multi-threaded? Make sure you have the GDK lock.
>>>       
>> The application is single threaded. There is a g_io_channel that uses
>> g_io_add_watch_full (a GSource on the mainloop).
>>     
> Try using rects without rounded edges - i.e. get rid of the "radius-x"
> and "radius-y" properties.
>
> That seems to fix it here.
>
> Damon
>
>   

Sorry for late reply, that seems to help indeed.

Stefan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]