On Tue, Sep 9, 2008 at 8:02 PM, Gustavo Sverzut Barbieri <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 6:24 PM, Gustavo Sverzut Barbieri > <[EMAIL PROTECTED]> wrote: >> On Tue, Sep 9, 2008 at 6:19 PM, thomasg <[EMAIL PROTECTED]> wrote: >>> Hi list, >>> >>> I just wrote some program parts in edje which contain scripts and react to >>> mouse events. >>> Then I experienced some problems when using this combination with mouse >>> events that are _not_ mouse,down,*. >>> Every time a program is executed that contains a script and reacts on >>> mouse,in; mouse,out and mouse,up,* the whole edje gui hangs (the programm >>> itself is still running fine). >>> >>> What works: >>> program { >>> name: "test"; >>> signal: "mouse,down,*"; >>> source: "test_part"; >>> script { } >>> } >>> What doesn't: >>> program { >>> name: "test"; >>> signal: "mouse,up,*"; >>> source: "test_part"; >>> script { } >>> } >>> The script {} part can contain functions or not, doesn't matter. >>> Can anyone confirm this? >> >> We just figured out that drag based events also hang it. I suspect >> it's due my last patch to Edje to postpone recalc, so I'm looking at >> this. Thanks for your test case, it will help as well. > > Thomas, > > Attached are the files with a test case similar to what you said. It > is fine here, no bugs. Could you modify those so they produce your > bug?
This is, indeed, caused by my patch to postpone edje_recalc(). I reverted it to the old behavior and provided a patch (another mail, in reply to the revert patch), please try it out and confirm if it works. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel