I have 2 patches ready for review on my "ui" branch at git://github.com/klazuka/factor.git I did a full bootstrap and ran all of the ui vocab tests.
Commit 85e46c5d separates text metrics from text rendering. This patch only affects the core-text backend. If this solution is acceptable, I will go ahead and implement it on Windows, and possibly Linux. Commit 48d0d5e0 changes the behavior of the table gadget such that it does not call relayout-1 when a row is selected or hovered over. The net effect of these 2 changes is that running the UI Inspector on a 50,000 element array launches faster and is significantly more responsive (. Before it used to take 22 seconds until the Inspector window was fully open. Now it only takes 9 seconds. And even once it was loaded, clicking on a row used to cause the UI to beachball on my MacBook Pro. When scrolling a huge table, there is still an initial stutter. So far I haven't been able to figure out why. Resizing a window that contains a huge table still results in frequent beachballs. I'm pretty sure that this is caused by the window resize resulting in a relayout of the gadget hierarchy which in turn causes the table to compute text metrics on each row in order to determine the column widths. If this is the case, perhaps we should consider making the inspector use fixed width columns?? So far I haven't been able to find any negative consequences as a result of my changes to the table gadget. But there must have been an original reason for the table gadget to make these relayout-1 calls. -keith ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) 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/devconference _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
