File dialog

From Wikipedia, the free encyclopedia

In computing, a file dialog (also called File Selector/Chooser, or open and save dialog) is a dialog box that allows users to choose a file from the file system. File dialogs differ from file managers as they are not intended for file management (although some offer simple operations such as folder creation), rather they are intended for the opening and saving of files. Before file dialogs, most programs requested files as a command line argument or as an exact file path. Others required you to select a file from the file manager.

Contents

[edit] Types

2 column dialog used in older GTK+ applications.
2 column dialog used in older GTK+ applications.
The "save as" dialog box from Windows XP
The "save as" dialog box from Windows XP
Mac OS X style file dialog
Mac OS X style file dialog

There are several types of file dialogs. The two most common being a two column view file dialog and a mini file browser dialog. Others include thumbnail view (for photos) and Meta-data (For music). There are several reasons for the many varieties of dialogs. First of all there is no single standard design, so a program may implement their own for any purpose. Many GUI toolkits do not provide a file dialog, so an application is forced to use its own.

[edit] Two column view

The two column view is one of the primary file dialog types. It uses two columns. One for folders, and another for files. Other common features include the current folder name, a searchbox and buttons for basic file manipulation.

[edit] Mini file manager

A mini file manager is often used. It represents the normal file manager, but it is restricted in its operations.

[edit] Thumbnails

Usually used by image related applications, a gallery of files are shown which allow a file to be chosen graphically.

[edit] Usability

File dialogs have been a subject of much usability debate. As a widget receiving constant use, ease of use is a major factor in their design. The most common reasons for file dialog usability problems include:

  • File system limitations,
  • Wrong type of dialog for the application (E.G no thumbnail view in a Wallpaper Selector, As in GNOME 2.6),
  • Horizontal scrolling (As in Windows file dialogs),
  • Uses non standard terminology (Commonly in ports from other operating systems)

Many application toolkits such as Motif and GTK+ have been criticised for their lack of it. Early versions of Microsoft Windows also suffered from problems, mainly from the DOS legacy behind it. However, most of these are being addresses as more legacy programs are being converted to use newer, more usable file dialogs.

[edit] Powerbox (security mechanism)

A file powerbox is a file dialog that will dynamically grant the application that opened it the right to access the file that the user chooses.

This means that an application does not have to run with the user's full authority. In other words, the application does not have to have the right to access all the user's files.

With a powerbox system, the file dialog is implemented as a trusted part of the system. It runs in a protection domain separate from the application. The powerbox component has access to all the user's files, whereas the application does not.

Powerbox systems have been implemented in CapDesk, Polaris and Plash.

v  d  e
Elements of graphical user interfaces

About box · Balloon help · Button · Combo box · Combutcon · Context menu · Check box · Dialog box · Drop-down list · File dialog · Grid view · Icon · Label · List box · Menu · Menu bar · Progress bar · Radio button · Ribbon · Scrollbar · Slider · Spinner · Status bar · Tab · Text box · Toolbar · Tooltip · Tree view · widget

[edit] See also