So ClutterActor has caching for geometry in
get_preferred_width/height().

In my Clutter-GTK work, I have discovered that this caching can wreak
havoc between GTK+'s size_request() method and Clutter's. You end up
having to make a lot of calls to force_relayout() and set_size(-1, -1)
in order to work around cached values.

These calls in turn flow up through the various layers, the end result
being lots of additional GTK+ exposes and Clutter paints.

It's possible that I can fix this without changing Clutter (need to
think about it a little more), but I was wondering if anyone else saw a
possible use for a clutter_actor_flush_cached_size() method, or similar.

--d

-- 
Davyd Madeley

Collabora Ltd., Melbourne, Australia
http://www.collabora.co.uk/

-- 
To unsubscribe send a mail to [email protected]

Reply via email to