|
Drag and Drop Drag & Drop allows the user to drag an object across the desktop and to drop it onto some other object. The user starts a drag by clicking on an object with the left mouse button (LMB) and, while keeping the mouse button pressed, moving the mouse. An icon representing the dragged object will now follow the mouse pointer. When the user releases the mouse button, the object is dropped. Drag & Drop can be an efficient way to select an interaction between two objects if both objects are visible on the desktop. The Drag & Drop action itself selects the two objects. After the drop, a popup menu should be shown which allows the user to select the desired action. The following two sections describe the Drag and the Drop in more detail. To prevent unintented drags in the case where the user wants to click on the object but accidently moves the mouse a little, drags should not start immediately. Only after the mouse has moved a certain number of pixels should the drag actually start. If the user releases the mouse button before the drag has actually started, the action should be considered a single mouse click (SC). Note that the origin of the drag is where the mouse button was pressed. The origin is NOT where the mouse pointer is when the drag starts! (a small but subtle difference)
If, while dragging, the mouse pointer is above an object on which a drop is possible, this object should change its visual appearance to indicate that a drop would mean dropping into this very object. If a drop is NOT possible, the mouse-pointer should change into a stop-sign.
Pressing ESC during the drag cancels the Drag & Drop operation. A drop causes a popup menu to appear that offers possible actions. Typical actions are: Move, Copy and Link. The popup menu should always contain Cancel as the last option. There should also be a popup menu if there is only one action (other than Cancel) possible. Actions that aren't possible should not appear in the menu. If, while dragging, a drop is not possible at the location of the mouse pointer and/or there are no actions possible at all, the mouse cursor should change into a stop-sign. Doing a drop at such a location effectively cancels the whole Drag & Drop operation. Experienced users may speed this process up a bit by keeping a modifier key down when the dragged object is dropped. If any of the following modifier keys is pressed during the drop, no popup menu will appear but the related action will be selected immediately.
If, in this case, the selected action is not possible at the location of the mouse-pointer, the mouse pointer should change into a stop-sign. A drop at such location effectively cancels the whole Drag & Drop operation. |