Community
Participate
Working Groups
The qooxdoo flush is called a lot more often than really needed. There are mainly two reasons for this: The flush calling itself, and Image.js calling it for every instance of an loaded image. There are also two cases in rap-only widgets (Tree and Table) where the flush is called, but not as often.
Created attachment 159411 [details] fix This patch reduces the number of flushs that occur during the startup of the controls-demo from 50 to 7. flushGlobalQueues() in no longer called in Image.js. Since the flush is already scheduled by Terminator, all this did was calling the flush once for every instance of Image instead of once for every image-file. Ideally we would not even have the qooxdoo Image anymore, using MultiCellWidget instead. (The instances of Image in the controls-demo were almost all invisible children of CTabItem, btw.) _initAutoFlush in Widget.js has beed modified to check if the scheduled job will be executed durng the current flush or not. Needs to rebuild qx.js
Applied patch to CVS HEAD