Drag&DropSaving

Differences between revisions 5 and 6
Revision 5 as of 2006-04-27 19:04:31
Size: 3813
Editor: dynamic-212-225-32-34
Comment: Note that DnD saving is specified at freedesktop.org, not specific to ROX
Revision 6 as of 2006-05-02 09:26:58
Size: 3956
Editor: mail
Comment: archimedes 1990
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:

This was a useful feature on the Acorn Archimedes in 1990. Re-navigating to save a file is an incredible common and annoying waste of time.

Summary

Provide the User with a way to save via Drag&Drop, by having a draggable Object visible (for example in the save dialog) that can be dropped on a Nautilus window. Dragging it on another window should open the unsaved document in that application, if possible.

Rationale

Dragging files to applications is a common way to move or open them. It would often be handy to save in a similar way. Especially with file structures that become complex, a user will sometimes have a file manager window already showing that directory, but navigating there again from the save dialog would involve some work. Allowing the user to save there by drag&drop would be a way to solve this problem that feels natural and fits well into the general method of handling files.

It would be especially good if other applications could take those drops; that way it would be possible to process files without having to save and open them each time explicitly.

The ROX desktop (http://rox.sf.net) already provides similar functionality to it's users, and it works (from a user's perspective at least) very well.

  • I think this is a great idea, originally based around the Acorn computers 'Save As' dialog boxes. When you mention a preview as you are saving, could this be extended for example when saving one image over another. A dialog could appear showing thumbs of the two files and asking what you would like to do.

Note: ROX does this by implementing the freedesktop.org X Direct Save Protocol: http://freedesktop.org/wiki/Standards_2fdirect_2dsave

In addition to the ROX applications, this specification is also supported by the Gimp, Thunar (from Xfce) and the JX toolkit.

This was a useful feature on the Acorn Archimedes in 1990. Re-navigating to save a file is an incredible common and annoying waste of time.

Use cases

Berta is working on a long project that has a complex file structure. She has a Nautilus window open showing "~/Documents/Project/Version A/reallylong/butnecessary/path/texts/" She has a word processor window open with a text she wants to save into that folder. Despite having exactly that folder open, she has to navigate there again in the save dialog.

Knut has a large text file he'd like to mail to a friend. With full drag&drop support, he could add some notes to the file in gEdit, drag&drop it to fileroller then drag&drop it from there to a "New Mail" evolution window. He would not have to clean up the modified or the zipped file afterwards.

Scope

Design

Several methods were suggested here: UsabilityWishlist

  1. Add an Icon to the save dialog. Dragging that icon into a file manager window will save the file there , using the specified file name.
  2. Dragging the window icon to Nautilus prompts for a filename to save in the drop location.
  3. Save dialog opens a nautilus window of a temporary folder (or permanent staging folder) with a newly created file waiting for file name to be chosen. In essence the same behaviour as when selecting "Create Document" in nautilus today.

A similar thing to method 1 already works with the screenshot application: You can drag&drop the little preview to a Nautilus window and it will save there. It does not, however, take the filename supplied by the user, but names the file always "screenshot". Besides that, this is basically how method 1 could work. If a preview image is not reasonable for the application, or not possible, it should show an icon corresponding to the file type, and put the specified name below it to make it look like it would in Nautilus.

Implementation

Code

Data preservation and migration

Outstanding issues


CategorySpec

Drag&DropSaving (last edited 2008-08-06 16:37:59 by localhost)