On Fri, 23 Jun 2006 15:52:19 +0200, Guy Morton <[EMAIL PROTECTED]> wrote:
> Hi Andreas > > That's interesting, and helpful to know. I've noted it is a lot less > responsive when dragging elements, but it also seems generally less > responsive to mouse events as well. The only thing that seemed to speed > it up to a useable level was to make the app small (400x400px or less). > I guess that makes sense if redrawing is the bottleneck - less to redraw > allows it to become more responsive to mouse events etc. > > So how often does Opera redraw? It depends. > What triggers a redraw? DOM manipulations, animations, CSS changes, image loading etc. > And is it possible to achieve element dragging without screen redrawing? Well, that depends. You as an author can help in a number of ways. Mark elements that are not interested in mouse-events with pointer-events="none", use suspendRedraw/unsuspendRedraw, use display="none" to hide things instead of visibility="hidden". > is it just a case of doing incremental redraws at longer intervals? Yes you could say that, if you use suspendRedraw your changes to the tree are still made, but they're not visible on screen until unsuspendRedraw is called and there is a screen update event. > how do i get around ASV not having the redraw methods? Well, depends on what you mean. Test if the methods are there and if they are use them, otherwise don't. > Has FF implemented the redraw methods? Last time I checked the methods were there. Not sure if they're working or not though. > And finally, if I choose instead just to wait for Opera to get faster, > how long do you think I'll be waiting? ;-) If you make a testcase and bugreport it as being slow, your estimated time to wait will be shorter. Here's the place: https://bugs.opera.com/wizard/ > If I can make FF performance better as well, I might get paid to invest > time in making some changes, but if it's only going to help opera > performance the guys who pay the bills might just prefer to wait it out. Using suspendRedraw/unsuspendRedraw will probably benefit FF users too. Regards /Erik -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/