Drag and drop is slow on FireFox
Description
Environment
relates to
Activity
Jonathan Hung May 27, 2008 at 8:09 PM
Fixed.

Michelle D'Souza May 27, 2008 at 4:17 PM
Drag and drop does not seem to be slow on FireFox. Perhaps the change to the 'trunk' version of jQuery UI helped.

Joseph Scheuhammer November 16, 2007 at 6:45 PM
To determine if the slow speed is due to repeated calls of the orderable finder function within the Reorderer, I placed a console.debug() at the top of that function to print out whenever it is called. I tested with Lightbox.html.
WIth respect to drag-and-drop, the orderable finder function is called once, ever. It is called from Reorderer._enableDragAndDrop().
(With respect to the keyboard, the finder function is called every time a cursor key is pressed, regardless of whether it is for navigation or moving a thumbnail. See http://issues.fluidproject.org/browse/FLUID-113).

Joseph Scheuhammer November 15, 2007 at 9:02 PM
Downgraded to critical – still intend to fix for release 0.1, but no longer a blocker.

Joseph Scheuhammer November 14, 2007 at 7:47 PM
As a test to see if getting rid of images will be quicker, I hooked up the Reorderer to our "grid-big.html" abstract example. This is a large grid of 1000 orderables. They are essentially <div>'s simliar to those in the Lightbox.html, but without any images. Loading the page into FF on a Mac led to a spinning beach ball for about 30 seconds, followed by an alert that says "unresponsive" script.
Short conclusion: our current dnd does not scale.
Hypothesis: it's the way we build the "selector" to hand to the 'accept' option to jQuery().droppable(). That is a string of 1000 id's separated by a comma. Now, since we know exactly which elements are the droppables, why can we not pass an array to jQuery().droppable()? Why must it be something that requires jQuery() to figure that out again?
Details
Assignee
Joseph ScheuhammerJoseph ScheuhammerReporter
Michelle D'SouzaMichelle D'SouzaComponents
Affects versions
Priority
Critical
Details
Details
Assignee

Reporter

The item movement is slow to respond when using the Reorderer in Firefox. This is especially apparent with many items and complex markup such as in the Lightbox.