
A status bar is a
graphical control element
A graphical widget (also graphical control element or control) in a graphical user interface is an element of interaction, such as a button or a scroll bar. Controls are software components that a computer user interacts with through direct m ...
which poses an information area typically found at the
window
A window is an opening in a wall, door, roof, or vehicle that allows the exchange of light and may also allow the passage of sound and sometimes air. Modern windows are usually glazed or covered in some other transparent or translucent ma ...
's bottom.
[
] It can be divided into sections to group information. Its job is primarily to display information about the current state of its window, although some status bars have extra functionality. For example, many
web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
s have clickable sections that pop up a display of security or privacy information.
A status bar can also be text-based, primarily in console-based applications, in which case it is usually the last row in an 80x25
text mode
Text mode is a computer display mode in which content is internally represented on a computer screen in terms of characters rather than individual pixels. Typically, the screen consists of a uniform rectangular grid of ''character cells'', ea ...
configuration, leaving the top 24 rows for application data. Usually the status bar (called a ''status line'' in this context) displays the current state of the application, as well as helpful
keyboard shortcut
In computing, a keyboard shortcut (also hotkey/hot key or key binding) is a software-based assignment of an action to one or more keys on a computer keyboard. Most Operating system, operating systems and Application software, applications come ...
s. One example is the 'vi' text editor of UNIX (from the 1970s) or newer Linux systems.
Status lines have been used for more than 30 years
[ to display advisory messages in a predefined area, rather than as pop-up messages in center screen which can block the view of related information.
Sometimes, a ]video game
A video game or computer game is an electronic game that involves interaction with a user interface or input device (such as a joystick, game controller, controller, computer keyboard, keyboard, or motion sensing device) to generate visual fe ...
places the player's vital information or Heads-up display
A head-up display, or heads-up display, also known as a HUD () or head-up guidance system (HGS), is any see-through display, transparent display that presents data without requiring users to look away from their usual viewpoints. The origin of t ...
(such as hit points, lives, and score) on a similar strip across the top or bottom of the screen; this is also referred to as a status bar.
Usage
Status bars, and status lines before them, have been used for years[ to display advisory messages in a predefined area, predating ]dialog box
In computing, a dialog box (also simply dialog) is a graphical control element in the form of a small window that communicates information to the user and prompts them for a response.
Dialog boxes are classified as " modal" or "modeless", dep ...
es which can block the view of related information behind the pop-up messages. The use of status bars (or status lines) involves both advantages and disadvantages:
Advantages of status bars:
* They allow viewing messages while also viewing the entire screen (although they take space away from the screen for their own display)
* They allow typing information while viewing status data
* They allow other menu options while viewing status data
* They continually show status during operation
Disadvantages of status bars:
* Status bars might restrict information to a one-line display (although a variable multi-line status bar/region could be used);
* Status bars typically cannot pop to the surface for critical messages when its parent window is layered below others (but are always visible in the parent window, which can be raised).
* Their location at the edge of the display may make them less noticeable than a dialog box
Examples
* The status bar of a file manager
A file manager or file browser is a computer program that provides a user interface to manage computer files, files and folder (computing), folders. The most common Computer file#Operations, operations performed on files or groups of files incl ...
often shows the count of items in the current directory, their total size, or the size of the currently selected item.
* The status bar of a web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
will be invisible or blank when the user is viewing a page, then display loading information when the user clicks a hyperlink
In computing, a hyperlink, or simply a link, is a digital reference providing direct access to Data (computing), data by a user (computing), user's point and click, clicking or touchscreen, tapping. A hyperlink points to a whole document or to ...
.
* The status bar of a graphics editor will show information about the current image, such as its dimensions, color space
A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of colorwhether such representation entails an analog or a digital represe ...
, or resolution.
* In a word processor A word processor (WP) is a device or computer program that provides for input, editing, formatting, and output of text, often with some additional features.
Early word processors were stand-alone devices dedicated to the function, but current word ...
, the status bar often shows cursor position, the number of pages in the document, and the state of the caps lock, num lock
Num Lock or Number Lock (⇭) is a key on the numeric keypad of most computer keyboards. It is a lock key, like Caps Lock and Scroll Lock. Its state affects the function of the numeric keypad commonly located to the right of the main keyboard ...
, and scroll lock keys. Additionally, many word processors assign the insert key a behavior similar to that of these three, to allow toggling the insertion modethe state of that is also displayed in the status bar.
* Text adventure
Interactive fiction (IF) is software simulating environments in which players use text Command (computing), commands to control Player character, characters and influence the environment. Works in this form can be understood as literary narrati ...
s often have a status line that displayed information such as the players location, game time, and score. Infocom
Infocom, Inc., was an American software company based in Cambridge, Massachusetts, that produced numerous works of interactive fiction. They also produced a business application, a relational database called ''Cornerstone (software), Cornerston ...
's customer newsletter was named ''The Status Line'' after it was named ''The New Zork Times''
* In a spreadsheet
A spreadsheet is a computer application for computation, organization, analysis and storage of data in tabular form. Spreadsheets were developed as computerized analogs of paper accounting worksheets. The program operates on data entered in c ...
, the status bar shows similar information to word processors, but includes the ability to highlight cells and show the average, sum, maximum value, and so forth.
See also
* Other window bars: menu bar, toolbar
The toolbar, also called a bar or standard toolbar (originally known as ribbon), is a graphical control element on which on-screen icons can be used. A toolbar often allows for quick access to functions that are commonly used in the program. Some ...
, address bar
In a web browser, the address bar (also location bar or URL bar) is the element that shows the current URL. The user can type a URL into it to navigate to a chosen website. In most modern browsers, non-URLs are automatically sent to a search eng ...
, title bar.
Notes
{{Graphical control elements
Graphical control elements