Home > Graphic User Interface >
Drag & Drop

Overview

Both operating systems support drag & drop for users who would prefer to work solely with the mouse.

The following table illustrates the differences in implementation of drag & drop on each operating system:

Full support: 2 points
Mediocre support (incomplete, inconsistent, or doesn't behave as one would expect): 1 point
No support: 0 points


Besdies the history of computers, you'll be able to learn the history of electricity and the history of the telephone so why not learn more great information today!


Dragging text from one area of a document to another area of the same document
OS X

Moves the text (In Terminal, copies the text).

  • Click and hold for half a second before dragging in Cocoa apps (TextEdit, Mail, Stickies, Script Editor and Help).

Because it's not obvious which apps are Cocoa apps in OS X, this interface inconsistency is made even more frustrating.

XP

Moves the text. Some apps do not support this: NotePad, Command Prompt.

Drag highlighted text from one document to another
OS X

Copies the text into the receiving document.

  • Click and hold for half a second before dragging from Cocoa apps (TextEdit, Mail, Stickies, Script Editor and Help).
XP Cuts the text and pastes it into the receiving document.

  • NotePad and the command prompt do not support dragging or receiving dragged text.

  • Help supports dragging as well as cut and paste, but in either circumstance images and font information are lost. Numbered lists lose their numbers when being dragged to WordPad.
MS Office behavior: Dragging text from WordPad to Word cuts the text from WordPad and pastes it into Word as a WordPad object, with bounding boxes, that can only be edited by double clicking the box to open it up in a 'mini WordPad editor', thereby prohibiting the full range of editing tools found in Word.
Comment: Most users would probably prefer that the text be copied from one document to another, as in the circumstance when you're quoting something from a document to put into an email. That said, there is no true "correct" behavior here.
Drag highlighted text from a document onto the desktop
OS X

Creates a clipping of that text that can be dragged into other documents to be reused. If dropped into an application that supports rich (styled) text (AND created from an app that supports rich text), then the text will retain its formatting, otherwise the text will be used w/out formatting. Implementation varies from app to app:

  • Dragging from Safari creates a clipping of un-styled text.
  • Click and hold for half a second before dragging in Cocoa apps (TextEdit, Mail, Stickies, Script Editor and Help).
XP

Not supported in NotePad or Outlook Express. Dragging from WordPad creates a scrap object, that can only be dragged back into WordPad. (Dragging scrap objects into NotePad displays garbage text.) No other bundled apps support dragging text to the desktop.

Drag selected text from within a web form <textarea> to a different location within the web form
OS X

Moves the text (Safari). In Mozilla and OmniWeb, moves the text. Not supported in Internet Explorer.

XP

Moves the text.

Drag a URL from a text document onto a web browser window
OS X

Opens the URL in the window. (Apps tested: Stickies, TextEdit)

XP

Not supported in Internet Explorer. (Apps tested: NotePad, WordPad) WordPad to Mozilla works.

Drag an image from a webpage into another browser window
OS X

Displays the image and its path on the server in the Address box.

XP

Displays the image and its path in the local cache in the Address box.

Comment: Generally, the path to the image on the server is more important than its local location, since you can use the server path to create a link for someone else to see in an email, etc.
Drag an image from a webpage onto your desktop
OS X

Copies the image onto your desktop. The image (in ghosted form) drags with the mouse to indicate the action that is about to occur.

XP

Behavior varies. If the image is enclosed within a hyperlink, a shortcut to the hyperlink is dragged to the desktop. Otherwise, the image is copied to the desktop.

Comment: Generally, creating a local copy of the image on your hard drive will be the more useful behavior.
Drag an item onto an icon on a window's sidebar or toolbar
OS X

Moves the item to that location (if it's a folder shortcut), or opens the item with that shortcut (if it's an application).

XP

Though XP doesn't support dragging icons onto a window's toolbar, you can drag icons onto a windows Links bar to add them. However, these icons don't behave as true proxies: you cannot drop an icon onto a folder icon in your Links bar in order to move that item into that folder.

Drag an item between icons on a window's sidebar or toolbar
OS X

After a short pause, other toolbar icons will slide out of the way so that you may permanently add this item to the toolbar. Sidebar items can be added immediately (a horizontal blue line appears to indicate where the item will be added).

XP

Not supported.

Drag an open folder's icon from its location in the window's titlebar
OS X

Moves the folder to wherever you release. (Wait for the icon to highlight before dragging. This helps prevent accidentally moving a folder.) Hold down the Option key to copy. Hold down -option to make an alias.

XP

Creates a shortcut of the folder wherever you release. Hold down the Ctrl key to copy.

Drag a file or a group of files into an email message window
OS X

Mail attaches them to the message.

XP

Outlook Express attaches them to the message.

Drag a folder into an email message window
OS X

Mail attaches the folder and its contents to the message.

XP

Outlook Express displays an error stating that directories cannot be dropped into mail messages. It then asks if you would like to make a shortcut to the directory. Outlook also exhibits this behavior.

Drag a group of items into a document other than an email message
OS X

Attempts to paste the contents of the items into the document. If the items are folders, it asks if you want to copy them or create aliases to the enclosed contents.

If the application does not support styled text, the icons slide back to their original position, indicating that the action is not permissible. In Terminal, the paths to all of the documents will be pasted.

Note: Copying and pasting a group of files pastes a list of the files.

XP

Dragging a list of items (as well as copying and pasting that group) attempts to paste the contents of the items into the document. If the list contains a folder, an error will be generated. If the application does not support styled text and the items being dropped contain styled text or are images, garbage text will be pasted. In Command Prompt, the path to the item you first dragged will be pasted. Other selected items will be ignored.

Comment: If the item is an application, XP becomes unresponsive, requiring an "end task" to the application receiving the dropped item. In OS X, if the item is an application, it will paste the icon of the application (TextEdit, Stickies). If you drop a package-style application in BBEdit, it pastes a directory listing of the contents of the package. XP has no way of pasting a list of items from a window into a document.
Drag a picture into your Desktop Picture control panel
OS X

Sets it as your desktop picture.

XP

Not supported.

Drag a picture into your login options to set your user icon
OS X

Sets the pictures as your user icon.

XP

Not supported.

Drag a document onto an application icon in the dock/taskbar
OS X

Dock icon will highlight to indicate whether the application can open that document. When released over a supporting application, the document opens within that application. When released over a non-supporting application, the icon slides back to its point of origin, indicating the abandonment of an action. Hold down -option while dragging over an application that doesn't recognize the document format to force it to open the document.

XP

The taskbar is divided into Quick Launch icons and open/minimized windows. These two sections behave differently when dropping an item on them.

Taskbar Quick Launch icons do not highlight to indicate whether such an action is possible. When released over a supporting application, the document opens within that application. When released over a non-supporting application, an error message is generated that requires your attention to dismiss. Not all filetypes behave predictably. For instance, an .htm file cannot be dropped on an Internet Explorer Quick Launch icon, even if Internet Explorer is set as the default application for .htm files (although it can be dropped on a FrontPage Quick Launch icon). Text files (.txt) cannot be dropped on a Word Quick Launch icon or desktop shortcut even though Word is capable of opening such files.

When dropping a file onto a minimized icon in the toolbar an error message is generated:

"You cannot drop an item onto a button on the taskbar.

However, if you drag the item over a button without releasing the mouse button, the window will open after a moment, allowing you to drop the item inside the window."

If a .txt file is dropped into an existing Word window, the contents of the file are pasted at the cursor's insertion point. The only way to open a .txt file in Word via drag and drop is if the Word window is open yet no documents are open within Word.
Comment: OS X provides more feedback at the appropriate time, and avoids error messages that must be attended to. OS X users can also use this as a method of controlling which application opens an item; XP users cannot.
Drag-reorder menu extras/system tray icons
OS X

Press the command key, then drag menu extras left or right - surrounding items will slide out of the way, creating a space for you to drop the menu extra. Drag a menu extra downward off of the menu bar to remove it entirely (complete with a puff of smoke). The Spotlight icon cannot be moved.

XP

Not supported.

Drag-reorder items in a folder's toolbar or sidebar
OS X

Press and hold the command key to drag-reorder toolbar icons. Drag icons off of the toolbar to remove them. Sidebar items can be reordered or removed in the same fashion without using any additional keys - just drag and drop.

XP

Not supported.

Drag-reorder dock/taskbar icons
OS X

Drag left or right to reorder dock icons. Surrounding icons will slide out of the way to create space for the icon being dragged. Drag an icon off of the dock entirely to remove it, complete with a puff of smoke. Command-drag an item off of the dock to physically move that item to another location (i.e., command-dragging Mail's icon to the desktop will physically move Mail.app there).

XP

Quick Launch items will be reordered when moved left to right. An I-bar appears to visually indicate where the icon will be placed when the mouse button is released. Dragging an icon off of the Quick Launch bar moves the shortcut from the bar to wherever you let go.

Drag an item into or out of the Start menu
OS X

OS X has no equivalent to the Start menu, so such a comparison is a stretch. Adding your Applications folder to the dock is the closest approximation to the Start menu; you can drag items to this folder to move them there, though you cannot drag items out in this fashion.

XP

Items can freely be dragged into or out of the Start Menu. When dragging an icon onto the menu, it will pop up, allowing you to navigate to submenus in which you can drop the icon. Drag with the right mouse button and release, and a contextual menu will appear giving you choice, such as Move Here or Cancel.

Although icons can be dragged in to the favorite applications section of the Start menu (above the All Programs menu), they cannot be dragged out. To remove them, right-click and select "Remove from This List."

Drag an item onto a folder
OS X

Releasing immediately moves the item into the folder. In all views, folders will spring open after a short delay, allowing you to navigate to subfolders. You can continue opening "spring-loaded" folders until you've arrived at where you want to release the item. If you've accidentally opened the wrong folder, just drag your item out of the folder window and it will close.

XP

Releasing immediately moves the item into the folder. In Explorer View only (click the Folders icon in the toolbar), folders will spring open after a short delay, allowing you to navigate to subfolders. You can continue opening "spring-loaded" folders until you've arrived at where you want to release the item. If you accidentally open the wrong folder, it will remain open until you close it manually.

Comment: OS X's implementation is superior in that spring-loaded folders are available in all views, and you can close folders by dragging the item out of their window.
Drag a file onto a printer icon
OS X

Prints the item to that printer, without presenting a print dialog.

XP

Results vary:

  • .txt (prints)
  • .doc (opens Word, prints, closes)
  • .pdf (prints)
  • .jpg (prints, fills page)
  • .gif (error message)
Comment: OS X's lack of a print dialog is great for quickly printing a document, but can also lead to undesirable results - for instance, if the document is too big to fit on a page (like an image or PDF file), you won't be presented with the option to scale it to the paper size.
Drag a folder onto a printer icon
OS X

Prints a list of the folder contents, and presents a print dialog.

XP

Not supported, though this functionality can be created via a script. Create a script with the following code:

dir /oed %1 > prn

Drag a folder onto that script's icon to print the folder contents.

Drag a vCard into your Address Book
OS X

Notifies you that it will add the card to your Address Book. If the name of the person in the incoming vCard matches a name of a person in your address book, it is considered a duplicate card. In that case, it asks you if you would like to review changes or update your original. If you want to review changes, you are presented with a visual comparison of the two cards. You can review the differences and select which to keep (Keep Old, Keep New, Keep Both, or Update).

XP

Allows you to review the card before adding it to your Address Book. If the name and email are the same, it considers it a duplicate and asks if you'd like to update the card. If only the name is the same as an existing card, it is not considered a duplicate, so it will be imported.

Drag a contact from your Address Book to your buddy list
OS X

Adds the contact to your buddy list, and displays them as their full name if that information is stored in their address card.

XP

Not supported.

Drag a folder to the side of the screen
OS X

Not supported.

XP

Creates a toolbar out of the folder.

Drag a URL from the Address bar to your favorites/bookmarks
OS X

Adds the link to your bookmarks.

XP

Adds the link to your favorites.

Drag an HTML file (saved from your web browser) from one folder to another
OS X

Safari by default only saves the HTML when saving a webpage, not the images. You can save webpages as a "Web Archive," which will package all their associated files together; however, this .webarchive file can only be opened by Safari.

XP

An associated folder containing all the images that go with the HTML file will move with it.

Drag a file and drop it onto the interface of an open application's window
OS X

Not supported.

XP

Opens the file in the application.

Drag an image file into your Address Book to set the picture for a contact
OS X

Displays a dialog where you can crop the image, choose a differnent image to use from the filesystem, or - if you have a webcam - take a video snapshot (useful for setting your own picture). PDF images are even supported.

XP

Not supported.

Drag an email recipient (from the From, To, Cc, or Bcc box) into a text document
OS X

Pastes the recipient's email address.

XP

Not supported.

Total (out of 62 points):

Mac OS X: 51
Windows XP: 29


Conclusion

Though neither operating system can claim perfect intuitiveness when it comes to drag and drop, OS X has the edge in terms of its depth of implementation, flexibility with the user, and intuitiveness (acting as you would expect it to).

Mac OS X: 8
Windows XP: 5

Back Cut & Paste | Next Dock vs. Taskbar, Basic