BSelect should always initiate a drag if the drag is started on a selected item. The drag starts once the drag threshold has been reached. This is true for text regions, scrolling lists, and other similar elements.
From the user's point of view, the placement of the dropped item is dependent on the task the user is doing and the application or context the task is in. In File Manager, if the default is set to As Placed, then icons are placed where they are dropped. If the default is set to Sorted Grid, then a dropped icon is automatically sorted and then placed, which means it may not be placed where the user drops it.
In some cases, where the dropped item gets placed is not a criteria. For example, Front Panel controls require only that the dragged item be over the control to activate the drop zone. In the Compose window in Mailer, the placement depends on what is being dropped.
If the user is dragging a piece of text, then the text is inserted at the drop point. From user testing, this is what users expect. If the user drops an icon, a file, or a buffer, then the contents are included at the insertion point. This mirrors the behavior the user gets when the user selects a file from the Include File Selection Box.
You should determine appropriate behavior for your application based on what type of tasks the user is doing. If a collection does not have a fixed insertion point or keep elements ordered in a specific way, the insertion position for transferred data is determined as follows:.
For BTransfer-based or BSelect primary and drag transfer operations, excepted as noted below for text collections, the insertion position is the position at which the user releases BTransfer or BSelect. In a text-like collection, when the user drops selected text, the insertion position is the position at which the user releases BTransfer or Bselect.
When the user drops an icon, the insertion position is the text cursor and the data is pasted before it. In a list-like collection, the insertion position for other transfer operations is the element with the location cursor, and the data is pasted before it.
The insertion position is the position in the destination where transferred data is placed. Some mouse-based transfer operations place data at the pointer position if possible. Other operations, including keyboard-based transfer, generally place the data at the location cursor. The following two items allow users to stop a drag operation without any data loss or other negative result. Releasing BTransfer or BSelect when not over a drop target ends a drag-and-drop operation.
There are several points during a drag-and-drop operation that the timing and response to the user is critical. The following time line explains the individual user steps and system responses in a drag-and-drop operation. The suggested guideline for interaction timing is noted after the relevant step. The user makes a selection. The pointer is over the selected object.
The user presses and holds down the mouse button. The user starts to move the pointer. The user should be able to move the pointer 10 pixels before a drag is initiated.
If the user is pressing BTransfer, there is no drag threshold. Movement Latency : The latency from hand movement to drag icon display should be less than 50 msec. The drag icon changes to the cannot pointer if it is not over a valid drop zone. The drop zone becomes highlighted if it is a valid drop zone. If the drop zone is not valid, the drag icon is snapped back to the source using the snap back transition effect.
If the drop zone is valid, the drag icon is melted into the destination using the melt in transition effect. Echo Latency : The display latency from mouse button release to feedback echo should be less than 50 msec. Snappy Transitions : Transitional animations should run from to msec. The animation should run at the same speed regardless of hardware conditions. If the data transfer fails, it is up to the destination application to provide the user with appropriate feedback as to why it failed.
Command Latency : The latency from command invocation drop occurred to completion should be in the range of 0. Busy Feedback : When a command may run longer than 2 seconds, display a busy cursor whenever the cursor is over the busy object.
When possible, display partial results. The progress indicator or busy cursor should be displayed in less than 0. This section discusses the user model and guidelines for attaching documents to documents in the Common Desktop Environment 1.
This functionality can be seen in the Mailer software application. If you plan to include an attachment list in the interface of your application, then you should read this section. Suppose you had two documents called A and B. If a document, A, is attached to another document, B, then A continues to exist as a separate document that is "carried" by B.
A is shown as an icon within B. A can be opened and viewed independently and can be detached from B at a later time, as if never attached at all. The area in which attachments are displayed.
Should be scrollable and include room for showing icon labels. Users do not think of a document that has several attached documents as a container. Containers are an implementation concept that should not appear in the attachments human interface. For that purpose, the term container should not be used to describe attachments to the user. It may be an appropriate term elsewhere. Attachments are shown as icons where they are attached. These icons are the same icons as those used in File Manager and other places in the Common Desktop Environment.
The basic rule of behavior is that if the same icon is used in File Manager as in an attachment, then every effort should be made to make the two behave the same in every situation. Ability to edit the attachment in a separate window and save changes back to the attached document. The goal is to provide Level 3 functionality whenever possible. If an attachment cannot provide this level, then it should degrade its level of functionality in the steps shown. This section is written assuming Level 3 functionality.
If a document provides significantly different functionality as an attachment from that provided as a File Manager icon, then provide a different icon for the attachment to clearly indicate to the user the difference in functionality.
You should determine for each application what items it can attach. For example, Mailer can attach documents, scripts, and applications, but not folders. There are two methods of attachment, through the file selection dialog box that comes up when you choose Add File from the Attachment menu, and through drag and drop from File Manager or another application. When the user chooses something to attach from the file selection dialog box that is not an attachable item, then the user receives an error message explaining why the chosen item cannot be attached.
For example:. The folder "My. Stuff" cannot be attached because it is a folder. Only documents, applications, and scripts can be attached. When the user attempts to drop something into the attachment list that is not attachable, then the drop fails and the item is snapped back to its source. The act of attaching document A to document B copies the bits of document A into document B.
There is no further connection with the original file. If the user opens the attached document and makes changes, the changes are saved back to the attached document only, not back to a file in the file system. Users can attach messages or text files that have attachments inside them. This is sometimes referred to as "nesting". The user reading the text file would perhaps see a mail message icon that the user could then open, which may have a text message and more attachments.
The user should be able to open an attachment, edit it, and save the changes back to the attachment. If the attachment does not have the ability to do this, then the Open action should not appear in the Actions portion of the menu when that attachment is selected and double-clicking should not open the attachment.
Double-clicking is a shortcut for selecting the attachment and choosing the Open menu item for attachments and should never be the only way to access attachments. When the user has one or more attachments open for editing and attempts to do any operation that would result in potentially losing the user's edits, the user should be clearly warned and given the opportunity to save changes.
If the user tries to open or double-click on an executable attachment, then there may be times when the user should be asked to confirm this operation. Both the name of the attachment and the name of the action being taken on the attachment should be variables.
An example error message follows:. Read-only attachments can be opened for reading only. This state should be indicated to the user by inactivating the menus in the attachment application, inactivating the selection cursor, or some other obvious method.
At a minimum, the Save menu item in the attachment application should be dimmed. Drag load can be accomplished in two ways. In applications that directly support drag load, users can drag an icon, from File Manager, over the open window for that application and drop it which loads the file represented by that icon.
The same result can be accomplished by dropping an icon onto an action icon. The action starts an editor, which then loads the file represented by the icon. When an icon from File Manager is drag loaded, it is equivalent to choosing Open from the File menu. The open file can be edited and saved.
In the case of attachments, users can drag and drop an attachment onto editors or actions that support drag load but any edits made are not saved back to the attachment. Attachments, which are implemented as buffers, are loaded as read only data. When the user tries to save changes to a loaded attachment, the editor displays a file selection dialog box and asks the user to confirm the name and to choose a place in the file system to save the file.
The name used in the file selection dialog box is the same as the attachment name. If the editor command line application cannot bring up a file selection dialog box, then it should clearly and visibly indicate to the user that the loaded file is read-only. If the user wants to edit the attachment directly, the user must select the attachment in the attachment list, choose Open from the Attachment menu or double-click on the attachment.
This opens the attachment in a manner that allows for editing and saving changes. Another option is to drag load an attachment, edit it, save it to a new file name, and replace the old attachment with the new one manually.
If your application uses an attachment menu, it contains the following choices, with the specified functionality, when the actions are actually supported by your application. Selects files and other items to be attached.
A file selection box is displayed allowing the user to select the desired files to attach. The default button in the file selection box is Attach. Saves the currently selected attachments. The user is prompted with a file selection dialog box for indicating where in the file system the attachments are to be saved. When multiple attachments are selected, the name field is inactive and the current names of the attachments are used as the name of the new file.
This menu item is active only when one or more attachments are selected. Renames the attachment icon. The application should provide in-line renaming of attachment icons, such as File Manager uses.
If the application cannot provide in-line renaming, then Rename allows the user to rename an attachment by displaying a dialog box, requesting the name from the user. This menu item is active only when a single attachment is selected. It is not active when multiple attachments are selected. Deletes attachments from the attachment list.
This menu item is active only when an attachment is selected. Chapter 3 Drag and Drop Drag and drop enables the user to directly manipulate objects in the computing environment. Drag-and-Drop User Model Direct manipulation of objects in the computing environment helps the user feel in control of the computer, which in turn helps the user feel more comfortable about trying new operations and about computers in general. Drag and drop can be used for multiple purposes.
For example, you can drag and drop an icon on the desktop to move it to a folder. You can drag and drop an open window by clicking the title bar and moving it to a new location. Some programs allow you to open files by dragging and dropping file icons directly onto the application icon.
Many programs allow you to customize the workspace by dragging and dropping interface elements in different locations on the screen. Computer games, like chess, typically allow you to move objects in the game using a drag and drop action.
NOTE: Since drag and drop is a simple and intuitive way to work with objects, software programs often promote "drag and drop editing" capability, which implies the software is easy to use.
The definition of Drag and Drop on this page is an original TechTerms. The solution: Left click a file, keep the left click pressed, and then hit Escape. When drag and drop does not work, left-click a file in File Explorer and keep the left click mouse button pressed. While the left click button is held down, press the Escape key on your keyboard once. Finally, try to drag and drop again.
Skip to content Common questions. March 4, Joe Ford. Table of Contents. For example, if you could scroll up, you could click-and-drag text near the top of the window or document area. If lots of scrolling is needed to get to where you want to move text, it's easier to cut and paste instead of dragging-and-dropping. Click , Mouse pointer , Mouse terms. Home Dictionary D - Definitions.
Note Dragging and dropping an object or file moves it to the new location; it does not make a copy. Tip Holding down the Ctrl key while dragging and dropping text or another object copies the object or text.
Tip In Microsoft Windows , if you drag-and-drop with the right mouse button rather than the left mouse button, you're prompted with a menu. Tip If you hold down Ctrl while dragging and dropping the text, it's copied duplicated instead of moved.
0コメント