Hi,

I have more info thanks to the option of enter into debugger, new to FireFox
2.0, when a warning is raised of long-running script.

What I have seen is that the size of the vQueue variable in
qx.ui.core.Widget.flushGlobalJobQueue doesn't decrease.  Qooxdoo is in a
infinite loop!

It has something to do with GridLayout and its nesting in a lot of
BoxLayouts.
Please, some qooxdoo guru could give me some tip to diagnose this problem?
Probably, it won't be easy to find a simple example demonstrating this bug. 
I'll try to.


dperez wrote:
> 
> Hi,
> 
> It has something to do with the GridLayout that is maybe buggy, and can
> enter in infinite loops in some complex scenarios.
> 
> I have a main form that can load subforms thru AJAX.
> The subform uses GridLayout.
> If I render the subform alone, it renders ok.
> But when I render the subform inside the main form, I get a possibly
> infinite loop.
> If I change the layout of the subform from GridLayout to BoxLayout, it
> renders ok.
> 
> Has the behavior been observed before?
> 
> 
> dperez wrote:
>> 
>> Hi,
>> 
>> I have an AJAX event that adds widgets to a container, and the calls
>> qx.ui.core.Widget.flushGlobalQueues()
>> The problem is that FF 1.5 asks me if I want to stop a long running
>> script. If I answer no after 5 seconds, I'm asked the same question.  If
>> I answer yes, the GUI is painted ok, but doesn't respond to the mouse.
>> 
>> Thru tracing I've checked that qx.ui.core.Widget.flushGlobalQueues()
>> doesn't return.
>> How can I diagnose what's happening.
>> It seems that flushGlobalQueues is in a infinite loop.
>> Any hint will be greatly appreciated.
>> 
>> Regards,
>> David
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Infinite-loop-in-flushGlobalQueues%28%29--tf2451137.html#a7011822
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to