37100Re: Drag Drop - High CPU in Internet Explorer
- Sep 2, 2008Thanks Dav
I don't have a working demo on the internet at the moment and it's
pretty big and complex to post, I will let you know when it's
available. However I saw your suggestion in the other thread about
only creating the DD instance on mousedown.
That seemed like it could work except in my case every DD is also a
target (I have a bunch of objects on a page I can D&D on each other)
so when I instatiate them as DDTargets (instead of DD) same problem.
I am now trying not using the DDTargets, the problem is of course
that with onInvalidDrop I don't know where I landed but maybe I can
figure it out using XY of objects and comparing... Seems like a lot
of work but if it works out it will probably be worth it. Unless
there is an easier way to figure out where the drop landed without
>feel free to email me off list..
> ajaxgames --
> I would be happy to look, but I need a working repro case..
> Can you post a link, if you don't want to post it to the group,
> Dav Glass
> + Windows: n. - The most successful computer virus, ever. +
> + A computer without a Microsoft operating system is like a dog
> without bricks tied to its head +
> + A Microsoft Certified Systems Engineer is to computing what a
> McDonalds Certified Food Specialist is to fine cuisine +
> ----- Original Message ----
> > From: ajaxgames <ajaxgames@...>
> > Sent: Sunday, August 31, 2008 1:02:22 PM
> > I have the same issue, if more than a few DDs or DDProxys are
> > in a page, IE7 will remain at high cpu even when doing nothingwith
> > the page. If the window is minimized then cpu usage does dropafter a
> > while.more
> > Can someone please take a look. If this can't be helped, can you
> > provide any tips or workarounds to ease cpu load while keeping
> > DD elements on the page?on my
> > Thank you.
> > >
> > > Hi!
> > >
> > > I'm working on implementing Yahoo's/YUI Drag and Drop utility
> > > site. I've been able to make it work and it is great, so longas I
> > > have a very small list of items in my list (20 or so). But indoing
> > > some stress testing, I noticed the CPU hits over 50% on mysystem
> > if Iloading
> > > make the lists longer. Note that this CPU hit occurs upon
> > theitems. I'd
> > > page, even before you move your mouse or drag any of the
> > > expect an immediate CPU hit upon page load, and another hitduring
> > theCPU
> > > act of dragging, but I'm confused as to why IE would suck up
> > afterseveral
> > > the page has been rendered. (Yes, we've tried this page on
> > > other machines -- it's not just mine).unrelated to
> > >
> > > A sample of the page is here:
> > > http://www.newsroomsolutions.com/yuiissue/
> > >
> > > I've removed some references to our back-end, which are
> > > this problem. Is this YUI widget only good for a very smalllist?
> > I
> > > find that really hard to believe. Thanks for your help.
> > >
> > > Damian
> > >
> > ------------------------------------
> > Yahoo! Groups Links
- << Previous post in topic Next post in topic >>