A context-sensitive user interface offers the user options based on the state of the active program. Context sensitivity is ubiquitous in current
graphical user interface
A graphical user interface, or GUI, is a form of user interface that allows user (computing), users to human–computer interaction, interact with electronic devices through Graphics, graphical icon (computing), icons and visual indicators such ...
s, often in
context menu
A context menu (also called contextual, shortcut, and pop up or pop-up menu) is a menu in a graphical user interface (GUI) that appears upon user interaction, such as a right-click mouse operation. A context menu offers a limited set of choic ...
s.
A user-interface may also provide context sensitive
feedback
Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause and effect that forms a circuit or loop. The system can then be said to ''feed back'' into itself. The notion of cause-and-effect has to be handle ...
, such as changing the appearance of the mouse pointer or cursor, changing the menu color, or with auditory or tactile feedback.
Reasoning and advantages of context sensitivity
The primary reason for introducing context sensitivity is to simplify the user interface.
Advantages include:
* Reduced number of commands required to be known to the user for a given level of productivity.
* Reduced number of
clicks or
keystrokes required to carry out a given operation.
* Allows consistent behaviour to be pre-programmed or altered by the user.
* Reduces the number of options needed on screen at one time.
Disadvantages
Context sensitive actions may be perceived as
dumbing down
Dumbing down is the deliberate oversimplification of intellectual content in education, literature, cinema, news, video games, and culture. Originating in 1933, the term "dumbing down" was movie-business slang, used by screenplay writers, meanin ...
of the user interface, leaving the operator at a loss as to what to do when the computer decides to perform an unwanted action. Additionally non-automatic procedures may be hidden or obscured by the context sensitive interface causing an increase in user workload for operations the designers did not foresee.
A poor implementation can be more annoying than helpful – a classic example of this is
Office Assistant
The Office Assistant is a discontinued intelligent user interface for Microsoft Office that assisted users by way of an interactive animated character which user interface, interfaced with the Office help content. It was included in Microsoft Off ...
.
Implementation
At the simplest level each possible action is reduced to a single most likely action – the action performed is based on a single variable (such as file extension). In more complicated
implementations multiple factors can be assessed such as the user's previous actions, the size of the file, the programs in current use,
metadata
Metadata (or metainformation) is "data that provides information about other data", but not the content of the data itself, such as the text of a message or the image itself. There are many distinct types of metadata, including:
* Descriptive ...
etc.
The method is not only limited to the response to
imperative button presses and mouse clicks – pop-up menus can be pruned and/or altered, or a web search can focus results based on previous searches.
At higher levels of implementation ''context sensitive'' actions require either larger amounts of meta-data, extensive
case analysis based programming, or other
artificial intelligence
Artificial intelligence (AI) is the capability of computer, computational systems to perform tasks typically associated with human intelligence, such as learning, reasoning, problem-solving, perception, and decision-making. It is a field of re ...
algorithms.
In computer and video games
Context sensitivity is important in video games, especially those controlled by a
gamepad
A gamepad is a type of video game controller held in two hands, where the fingers (especially thumbs) are used to provide input. They are typically the main input device for video game consoles.
Features
Some common additions to the standar ...
,
joystick
A joystick, sometimes called a flight stick, is an input device consisting of a stick that pivots on a base and reports its angle or direction to the device it is controlling. Also known as the control column, it is the principal control devic ...
or
computer mouse
A computer mouse (plural mice; also mouses) is a hand-held pointing device that detects Plane (mathematics), two-dimensional motion relative to a surface. This motion is typically translated into the motion of the Cursor (user interface)#Po ...
in which the number of buttons available is limited. It is primarily applied when the player is in a certain place and is used to interact with a person or object. For example, if the player is standing next to a
non-player character
A non-player character (NPC) is a character in a game that is not controlled by a player. The term originated in traditional tabletop role-playing games where it applies to characters controlled by the gamemaster (or referee) rather than by a ...
, an option may come up allowing the player to talk with him/her.
Implementations range from the embryonic '
Quick Time Event' to context sensitive sword combat in which the attack used depends on the position and orientation of both the player and opponent, as well as the virtual surroundings. A similar range of use is found in the 'action button' which, depending upon the in-game position of the player's character, may cause it to pick something up, open a door, grab a rope, punch a monster or opponent, or smash an object.
The response does not have to be player activated – an on-screen device may only be shown in certain circumstances, e.g. 'targeting' cross hairs in a flight combat game may indicate the player should fire. An alternative implementation is to monitor the input from the player (e.g. level of button pressing activity) and use that to control the pace of the game in an attempt to maximize enjoyment or to control the excitement or ambience.
The method has become increasingly important as more complex games are designed for machines with few buttons (keyboard-less consoles). Bennet Ring commented (in 2006) that "''Context-sensitive'' is the new lens flare".
Gears of War review – Now this is what next-gen gaming is all about
/ref>
Context-sensitive help
Context sensitive help is a common implementation of context sensitivity, a single help button is actioned and the help page or menu will open a specific page or related topic.
/ref>
See also
* Autocomplete
Autocomplete, or word completion, is a feature in which an application software, application predicts the rest of a word a user is typing. In Android (operating system), Android and iOS smartphones, this is called predictive text. In graphical us ...
* Autofill
* Autotype
* Combo box
A combo box is a commonly used graphical user interface
A graphical user interface, or GUI, is a form of user interface that allows user (computing), users to human–computer interaction, interact with electronic devices through Graphics, gr ...
* Context awareness
Context awareness refers, in information and communication technologies, to a capability to take into account the ''situation'' of ''entities'', which may be users or devices, but are not limited to those. ''Location'' is only the most obvious el ...
* DWIM "Do What I Mean"
* Principle of least astonishment (PLA/POLA)
* Quick time event (QTE)
References
Citations
Sources
*
*
*
*
*
* {{cite encyclopedia
, url = http://webopedia.com/TERM/H/Help.html
, title = Help
, encyclopedia = webopedia
, date = September 1996
, access-date = 2004-09-20
Human–computer interaction
Ergonomics
Video game design
Applications of artificial intelligence