FLUID-113: Keyboard drag-and-drop does not scale

Metadata

Source
FLUID-113
Type
Bug
Priority
Major
Status
Closed
Resolution
Cannot Reproduce
Assignee
Colin Clark
Reporter
Joseph Scheuhammer
Created
2007-11-15T16:36:58.000-0500
Updated
2008-12-02T15:06:28.000-0500
Versions
N/A
Fixed Versions
  1. 0.3
Component
  1. Reorderer

Description

Even when turning off drag-and-drop, when using the abstract example "grid-big.html" (1000 orderables), keyboard navigation and re-ordering is very slow. The orderable finder function was defined thus:

function bigGridOrderableFinder (containerEl) {
return dojo.query ("

", containerEl);
}

The Reorderer was instantiated thus:

new fluid.Reorderer ("large-grid-container", {
orderChangedCallback: function() {},
layoutHandler: new fluid.GridLayoutHandler (bigGridOrderableFinder),
orderableFinder: bigGridOrderableFinder
});

Drag-and-drop was disabled by commenting out the call to _enableDragAndDrop() a the bottom of the Reorderer constructor.

Comments

  • Joseph Scheuhammer commented 2007-11-16T13:48:07.000-0500

    To determine if scaling 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 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).

    (WIth respect to drag-and-drop, the orderable finder function is called once, ever. See http://issues.fluidproject.org/browse/FLUID-71).