Feb. 25, 2009
3:15 p.m.
On Wed, Feb 25, 2009 at 02:55:54PM +0100, Hilaire Fernandes wrote:
To be more accurate the badness seems to occur when I am invoking "World doOneCycle" from the Seaside canvas.
World doOneCycle is necessary in some situation to get Moprh in their expected shape, because of the buggy Morph layout engine. So, in a Seaside component, It results in uggly code like:
Don't mess with morphic from threads other than the UI thread. Don't add morphs. Don't run World doOneCycle. The proper way to do this is to inject events into the UI thread: WorldState addDeferedUIMessage: [MyMorph new openInWorld] -- Matthew Fulmer -- http://mtfulmer.wordpress.com/