I've just been trying to use fadeOut in 0.6.6, and had to work around a problem.

I had an image which I wanted to show immediately, and then slowly fade out. 
The fading code is designed to fade in, then fade out.

If you don't fade in before fading out, the fadeCounter is wrong.

Therefore prior to calling fadeOut, I had to call setFadeCounter, to the number 
of steps I was using.

I'm guessing that fadeIn will similarly need a call to set the fadeCounter to 
0. Also, if you had a fadeIn with 10 steps, say, then a fadeOut with 20, you 
would get problems.

Reported as http://bugzilla.qooxdoo.org/show_bug.cgi?id=430

The same problem is in 0.7, and also there the fade timer isn't disposed of 
properly - there is still code in widget.dispose() to dispose of it, rather 
than in the mixin for manimation.js. Reported as 
http://bugzilla.qooxdoo.org/show_bug.cgi?id=431

Hugh

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to