Nautilus Undo Brainstorm

The goal of this page is to discuss some ideas about implementing an Undo/Redo feature in Nautilus.

Status update

Update Wednesday, 23 January 2008: (Amos) I just resumed my work on the undo feature. I'm currently porting my patch to gio/gvfs.

Motivation

From GNOME Human Interface Guidelines 2.0, Chapter 1. Usability Principles:

Unfortunately, Nautilus 2.xx doen't support any kind of undo feature.

Case study

Describe here situations where an undo/redo feature would be useful.

General ideas

Other implementations

In this section, undo/redo features of other file manager are presented and discussed.

Overview

Application

Version

Undo

Redo

Multi-level

Global?

Async

Detailed info

Konqueror

3.5.6 in Ubuntu 7.04

yes

no

yes

yes

yes

no (a)

Dolphin

0.9.2 in Ubuntu 7.10

yes

yes

yes

no (b)

no (c)

no

Explorer.exe

Windows 5.1 (Build 2600.xpsp_sp2_gdr_050301-1519)

yes

no

yes

yes

yes

yes (d)

Finder

10.4.10

yes

no (e)

no

yes

yes

yes (f)

  1. No menu item, only keyboard shortcut (CTRL+Z). Info is shown on a tooltip only if an "Undo" button is added to the toolbar (ex. "Undo: Copy", "Undo: Move")
  2. Each window maintains its own history. Closing a window destroys the history.
  3. Window is grayed and disabled during the undo. It is possible to open another window only by launching another instance of the application.
  4. The menu item shows "Undo <action>", for example "Undo Move", the statusbar shows a detail of which files are concerned (ex. Undo Move of 'myfile' and 'yourfile' and ...)

  5. After an undo the action becomes in fact a redo; but there is no explicit redo
  6. The menu item shows either "Undo <action> 'filename'" or "Undo <action> of N items"

One-level vs Multi-level undo

OSX Finder features a one-level (toggle) undo: only the last operation can be undone. After an "undo" the menu item changes to a "redo". Although simpler, there are situations where a "toggle" is not enough:

On the other hand, with a toggle-undo it is possible to show a grayed-out Undo item in the menu like ("Cannot Undo ..."), with a multi-level undo this is not possible: a grayed-out item will render unaccessible all previous actions. A solution could be to have a multi-level undo and warnings shown before "undoable" operations ("The operation you are about to perform cannot be undone, and will clear the undo history. Are you sure to continue?" (Yes,No) ([] Don't show this message again)).

Copy/Move a folder over an existing one

Conclusion

Blueprint for undo in Nautilus

In this section, put the blueprint for the undo/redo implementation

References

http://bugzilla.gnome.org/show_bug.cgi?id=167501 (includes a prototype patch)

http://bugzilla.gnome.org/show_bug.cgi?id=362718


CategoryUsability

Nautilus/Undo (last edited 2008-02-03 14:46:17 by localhost)