All Topics  
Mode (computer interface)

 

   Email Print
   Bookmark   Link






 

Mode (computer interface)



 
 
In user interface
User interface

The user interface is the aggregate of means by which people—the User s—Interaction with the system—a particular machine, device, computer program or other complex tools....
 design, a mode is a distinct setting within a computer program or any physical machine interface, in which the same user input will produce perceived different results than it would in other settings. The best-known modal interface components are probably the Caps lock
Caps lock

The caps lock is a key on a computer keyboard. Pressing it will set a keyboard mode in which typed letters are capital letter by default and in lower case when the shift key is pressed; the keyboard remains in this mode until caps lock is pressed again....
 and Insert
Insert

Insert may refer to:*Insert *Insert *Insert *Insert *Insert key on a computer keyboard, used to switch between insert mode and overstrike mode...
 keys on the standard computer keyboard, both of which put the user's typing into a different mode after being pressed, then return it to the regular mode after being re-pressed.

A precise definition is given by Jef Raskin
Jef Raskin

Jef Raskin was an United States human-computer interface expert best-known for starting the Macintosh project for Apple Inc. in the late 1970s....
 in his book "The Humane Interface
The Humane Interface

The Humane Interface: New Directions for Designing Interactive Systems is a book about user interface design written by Jef Raskin and published in 2000....
":
"An human-machine interface is modal with respect to a given gesture when (1) the current state of the interface is not the user's locus of attention and (2) the interface will execute one among several different responses to the gesture, depending on the system's current state." (Page 42).


An interface that uses no modes is known as a modeless interface.






Discussion
Ask a question about 'Mode (computer interface)'
Start a new discussion about 'Mode (computer interface)'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In user interface
User interface

The user interface is the aggregate of means by which people—the User s—Interaction with the system—a particular machine, device, computer program or other complex tools....
 design, a mode is a distinct setting within a computer program or any physical machine interface, in which the same user input will produce perceived different results than it would in other settings. The best-known modal interface components are probably the Caps lock
Caps lock

The caps lock is a key on a computer keyboard. Pressing it will set a keyboard mode in which typed letters are capital letter by default and in lower case when the shift key is pressed; the keyboard remains in this mode until caps lock is pressed again....
 and Insert
Insert

Insert may refer to:*Insert *Insert *Insert *Insert *Insert key on a computer keyboard, used to switch between insert mode and overstrike mode...
 keys on the standard computer keyboard, both of which put the user's typing into a different mode after being pressed, then return it to the regular mode after being re-pressed.

A precise definition is given by Jef Raskin
Jef Raskin

Jef Raskin was an United States human-computer interface expert best-known for starting the Macintosh project for Apple Inc. in the late 1970s....
 in his book "The Humane Interface
The Humane Interface

The Humane Interface: New Directions for Designing Interactive Systems is a book about user interface design written by Jef Raskin and published in 2000....
":
"An human-machine interface is modal with respect to a given gesture when (1) the current state of the interface is not the user's locus of attention and (2) the interface will execute one among several different responses to the gesture, depending on the system's current state." (Page 42).


An interface that uses no modes is known as a modeless interface. Modeless interfaces intend to avoid mode errors by making it impossible for the user to commit them.

Modes and Awareness


It is important to note that, in Raskin's sense, an interface is not modal, as long as the user is aware of its current state. Raskin refers to this as 'locus of attention'. Typically a user is aware of a system state if the state change was purposefully initiated by the user, or if the system gives some strong signals to notify the user of the state change.

Problems occur if the state change happens unnoticed (initiated by the system, or by another person, such as the user who was previously using the machine), or if after some time the user forgets about the state change. Another typical problem is a sudden change of state that interrupts a user's activity. In such a situation it can easily happen that the user does some operations with the old state in mind, while the brain has not yet fully processed the signals indicating the state change.

A very frustrating type of modality is those modes where the user does not find a way out, or, in other words, where she cannot find how to restore the old system state.

Examples


There are several popular examples of software employing modes:
  • vi
    Vi

    vi is a family of screen-oriented text editors which share common characteristics, such as methods of invocation from the operating system command interpreter, and characteristic user interface features....
     - has one mode for inserting text, and a separate mode for entering commands. There is also an "ex" mode for issuing more complex commands (e.g. search and replace). Under normal circumstances, the editor automatically returns to the previous mode after a command has been issued; however, it is possible to permanently move into this mode using Shift-Q.
  • Emacs
    Emacs

    Emacs is a class of feature-rich text editors, usually characterized by their extensibility. Emacs has, perhaps, more editing commands than any other editor or word processor, numbering over 1,000....
     - has a special mode for issuing commands, which is entered by pressing the control key plus a letter key. This differs from vi in that the mode always ends as soon as the command is called. Emacs also has many "major and minor" modes that change the available commands, and are automatically invoked based on file type to more easily edit files of that type. Modes are written in Emacs Lisp
    Emacs Lisp

    Emacs Lisp is a dialect of the Lisp programming language used by the GNU Emacs and XEmacs text editors . It is used for implementing most of the editing functionality built into Emacs, the remainder being written in C ....
    , and all modes may not be included with all versions.
  • Cisco IOS
    Cisco IOS

    Cisco IOS is the software used on the vast majority of Cisco Systems routers and all current Cisco network switches. . IOS is a package of routing, switching, internetworking and telecommunications functions tightly integrated with a computer multitasking operating system....
     - in order to execute certain commands, you must enter a certain "command mode" that allows you to execute that command.
  • Also, tools chosen from a palette
    Palette (computing)

    In computer graphics, a palette is either a given, finite set of colors for the management of digital images , or a small on-screen graphical element for choosing from a limited set of choices, not necessarily colors ....
     in photo-editing
    Photo manipulation

    Photo manipulation is the application of techniques to photographs in order to create an illusion or deception , through analog or digital means....
     and drawing applications are examples of a modal interface.


Criticism and mode errors

Modes are generally frowned upon in interface design because they inevitably lead to input errors, known as "mode errors", when the user forgets what state the interface is in, performs an action that is appropriate to a different mode, and gets an unexpected and undesired response. A mode error can be quite startling and disorienting as the user copes with the sudden violation of his or her user expectations
User expectations

User expectations refers to the consistency that users expect from products. Interaction design is very concerned with this topic. For example, our user expectations for traffic behavior is one of the more consistent ones because it is governed by traffic laws that are enforced....
. Interface expert Jef Raskin
Jef Raskin

Jef Raskin was an United States human-computer interface expert best-known for starting the Macintosh project for Apple Inc. in the late 1970s....
 came out strongly against modes, writing, "Modes are a significant source of errors, confusion, unnecessary restrictions, and complexity in interfaces." Later he notes, "'It is no accident that swearing is denoted by #&%!#$&,' writes my colleague, Dr. James Winter; it is 'what a typewriter used to do when you typed numbers when the Caps Lock was engaged'."

Larry Tesler
Larry Tesler

Larry Gordon Tesler is a computer scientist working in the field of human-computer interaction. Tesler has worked at Xerox PARC, Apple Computer, Amazon.com, and Yahoo!...
, of Xerox PARC
Xerox PARC

PARC , formerly Xerox PARC, is a research and development company in Palo Alto, California with a distinguished reputation for its contributions to information technology....
 and Apple Computer
Apple Computer

Apple Inc., formerly Apple Computer Inc., is an United States multinational corporation which designs and manufactures consumer electronics and software products....
, disliked modes sufficiently to get a personalized license plate for his car that reads: "NO MODES". He has used this plate from the early 1980s to the present, on various cars. Along with others, he has also been using the phrase "Don't Mode Me In" for years as a rally cry to eliminate or reduce modes.

Modes can be successful in particular usages to restrict dangerous or undesired operations, especially when the mode is actively maintained by a user. They can also work as well-understood conventions, such as painting tools.

Examples of mode errors

  • The most common source of mode errors may be the caps lock
    Caps lock

    The caps lock is a key on a computer keyboard. Pressing it will set a keyboard mode in which typed letters are capital letter by default and in lower case when the shift key is pressed; the keyboard remains in this mode until caps lock is pressed again....
     key.


  • A frequent example is the sudden appearance of a modal
    Modal window

    In user interface design, a modal window is a child window which requires the user to interact with it before they can return to operating the parent application, thus preventing the workflow on the application main window....
     error dialog
    Alert dialog box

    An alert dialog is a colloquial term for a particular type of dialog box that occurs in a graphical user interface. It is also known as an alert box, alert window, error dialog, alert popup or plainly alert....
     in an application while the user is typing; the user expects the typed text to be introduced into a text field, but the unexpected dialog discards all that input and may even interpret some keystrokes (like 'Y' or 'N' for 'yes' or 'no') incorrectly.


  • The Unix
    Unix

    Unix is a computer operating system originally developed in 1969 by a group of American Telephone & Telegraph employees at Bell Labs, including Ken Thompson , Dennis Ritchie, Douglas McIlroy, and Joe Ossanna....
     text editor
    Text editor

    A text editor is a type of software application used for editing plain text files.Text editors are often provided with operating systems or software development packages, and can be used to change configuration files and programming language source code....
     vi
    Vi

    vi is a family of screen-oriented text editors which share common characteristics, such as methods of invocation from the operating system command interpreter, and characteristic user interface features....
     can be notoriously difficult for beginners precisely because it uses modes, and earlier versions configured mode indication to be turned off by default.


Workarounds and alternatives

Arret
HCI researcher Donald Norman
Donald Norman

Donald Arthur Norman is a professor emeritus of cognitive science at University of California, San Diego and a Professor of Computer Science at Northwestern University, where he also co-directs the dual degree MBA + Engineering degree program between the Kellogg school and Northwestern Engineering....
 argues that the best way to avoid mode errors, in addition to clear indications of state, is to construct an accurate mental model
Mental model

A mental model is an explanation of someone's thought process for how something works in the real world. It is a representation of the surrounding world, the relationships between its various parts and a person's intuitive perception about their own acts and their consequences....
 of the system for the user which will allow them to predict the mode accurately. This is demonstrated, for example, by some stop sign
Stop sign

A stop sign is a traffic sign, usually erected at road junctions, that instructs drivers to stop and then to proceed only if the way ahead is clear....
s which show small diagrams describing which of the directions have a stop sign and which don't.

In the book The Humane Interface
The Humane Interface

The Humane Interface: New Directions for Designing Interactive Systems is a book about user interface design written by Jef Raskin and published in 2000....
, Jef Raskin championed what he termed "quasimodes", which are modes that are kept in place only through some constant action on the part of the user; such modes are also called "spring-loaded modes". Modifier key
Modifier key

In computing, a modifier key is a special key on a computer keyboard that modifies the normal action of another key when the two are pressed in combination....
s on the keyboard, such as the Shift key
Shift key

The shift key is a modifier key on a alphanumeric keyboard, used to type majuscule and other alternate "upper" characters. There are typically two shift keys, on the left and right sides of the row below the home row....
, the Alt key
Alt key

The Alt key on a computer keyboard is used to change the function of other pressed keys. Thus, the Alt key is a modifier key, used in a similar fashion to the Shift key....
 and the Control key
Control key

In computing, a Control key is a modifier key which, when pressed in conjunction with another key, will perform a special operation ; similar to the Shift key, the Control key rarely performs any function when pressed by itself....
, are all examples of a quasimodal interface. The purported benefit of this technique is that the user doesn't have to remember the current state of the application when invoking a command: the same action will always produce the same perceived result.

See also

  • Automation surprise
    Automation surprise

    An automation surprise is when an automation system performs an action that is unexpected by the user. A mode error can be a common cause of an automation surprise....
  • Modal window
    Modal window

    In user interface design, a modal window is a child window which requires the user to interact with it before they can return to operating the parent application, thus preventing the workflow on the application main window....
  • Human computer interaction
  • Interaction design
    Interaction design

    Interaction Design is the discipline of defining the behavior of products and systems that a user can interact with. The practice typically centers around complex technology systems such as Computer software, Handheld devices, and other electronic devices....
  • GUI
    Gui

    Gui or guee is a generic term to refer to grillinged dishes in Korean cuisine. These most commonly have meat or fish as their primary ingredient, but may in some cases also comprise grilled vegetables or other vegetarian ingredients....


External links

  • John Rushby. . A paper discussing an automatic method for locating mode errors.
  • Jakob Nielsen on