Hi, thanks, I found the reason. The problem is that the mouse wheel event triggers the creation when getting the child control "popup". The call creates the expensive DateChooser, which is in this case not needed.
The getChildControl method has a second parameter to trigger the creation. To fix the issue the getChildControl call should be changed to: var popup = this.getChildControl("popup", true); // _onMousewheel method AbstractSelectBox I created a bug report for this issue: http://bugzilla.qooxdoo.org/show_bug.cgi?id=3714 Cheers, Chris Am 18.05.2010 14:50, schrieb fx5: > Creating DateChooser seems to be a slow operation, but why is it done when i > trigger a mouse-wheel event? I think this is the bug. > > After searching for a reason i found the _onMousewheel - function in > AbstractSelectBox. After removing the line 65 > (root.addListener("mousewheel", this._onMousewheel, this, true);) the > problem was gone. Maybe the listener is too expensive? > ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel