On Sun, May 2, 2010 at 10:23, Greg Beaver <[email protected]> wrote:

> I've implemented a simple "appear-when-you-click" button in a tree
> folder, and have encountered some odd behavior.  The changeSelection
> event is fired about 10 times on a single change of the selection (i.e.
> click on the tree folder).  Is there an obvious reason why this would
> happen?  It requires me to add a check for the unnecessary redundant
> calls, and is noticeably slower.
>
> Typically that shouldn't happen. I would expect one changeSelection event
for each actual change of selection. Can you provide a small playground
example that demonstrates the problem?

Derrell

-- 
"There are two ways of constructing a software design.
One way is to make it so simple that there are obviously no deficiencies.
And the other way is to make it so complicated that there are no obvious
deficiencies."

                                               C.A.R Hoare
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to