Hi all,
While migrating to 0.8.3, I faced a weird behaviour regarding splitpanes
and tables. There seems to be cases where the code goes in "infinite
loop" (at least it behaves like). I've just reproduced the problem in
the playground using the following snippet :
var data = [
["cell11","cell12"],
["cell21","cell22"]
];
var tm = new qx.ui.table.model.Simple();
tm.setData(data);
tm.setColumns([ "col1", "col2"]);
var t1 = new qx.ui.table.Table(tm);
var t2 = new qx.ui.table.Table(tm);
// Create a vertical split pane with the 2 tables
var sp = new qx.ui.splitpane.Pane("vertical").set({
width : 450,
height : 300
});
sp.add(t1);
sp.add(t2);
var doc = this.getRoot();
doc.add(sp,
{
left : 100,
top : 50
});
Then try to move the split pane separation up, until the table vertical
scrollbar should appear. The browser freezes with constant 100% CPU and
you just have to kill it (or stop the script execution whenever it asks
for). I reproduced it on FF3.5, IE8, Chrome 3, so I don't think it is
browser related. Since the browser freezes, I can't even use firebug to
track it down.
BTW, the weirdest part is that if you add several rows to the table
model, the pb vanishes...
Any clue ?
Thanks,
Vincent
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel