Petr Kobalíček wrote:
> 
> Hi all,
> 
> I have taken a note that keyboard handling in qooxdoo is slow. When I
> press a key, my 1.6Ghz processor runs at 100% speed even that
> application is doing nothing. This also happens to mouse moving in
> browser client area.
> 

I have found the same.  In TreeVirtual the following event was consuming
excessive CPU

qx/ui/table/pane/Scroller.js:   
this._paneClipper.addEventListener("mousemove", this._onmousemovePane, this)

I added the following call to disable this functionality which seems to help

myTree.setFocusCellOnMouseMove(false);


Not sure if the same thing happens in the Table (since TreeVirtual extends
Table) - I would assume it does. Because the TreeVirtual is doing a lot more
layout stuff - it is probably more evident.

I have also run into speed issues using keyboard navigation on forms. If the
form has a complex layout, qooxdoo spends a lot of time trying to determine
the next/previous control when you hit the tab key.  If you explicitly set
the tabIndex order for all controls the problem goes away.
 
Don't know if this helps...



Petr Kobalíček wrote:
> 
> 
> I have not problem in 100% cpu usage, but for example moving cursor in
> table, tree or list is also slow due to this issue. Is there some
> chance that this will be better in the future or it's caused by
> universal qooxdoo event handling with no chance to be faster ?
> 
> I'm also wrote game in javascript (using canvas or dom) and I wanted
> to reuse my qooxdoo experiences to give it good user interface (and
> implementation of editor) in qooxdoo, but my discovery was that I
> can't use it due to speed issues (but this is not qooxdoo fault, I
> just wanted to use it in area that's not created for).
> 
> If there are any tips related to event dispatching speed in qooxdoo I
> would like to read them.
> 
> Cheers
> - Petr
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/keyboard-events-are-slow-tp20878643p21706813.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to