HOME

TheInfoList



OR:

In computing, a file dialog (also called file selector/chooser, file requester, or open and save dialog) is a
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 ...
-type
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 ...
that allows users to choose a
file File or filing may refer to: Mechanical tools and processes * File (tool), a tool used to remove fine amounts of material from a workpiece. ** Filing (metalworking), a material removal process in manufacturing ** Nail file, a tool used to gen ...
from the file system. They differ from
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 ...
s as they are not intended for file management, although some offer simple operations such as folder creation and renaming. Rather they are intended for the opening and saving of files. Before file dialogs, most programs requested files as a
command line A command-line interface (CLI) is a means of interacting with software via command (computing), commands each formatted as a line of text. Command-line interfaces emerged in the mid-1960s, on computer terminals, as an interactive and more user ...
argument or as an exact file path. Others required users to select a file from the file manager. A file dialog allows an application to access individual files in a standardized and secure way, with the user in control of what files to share with the application. Mobile phone operating systems lack file selection dialogs. Instead users are expected to give applications control over the whole file system.


Types

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 metadata (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.


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 search box and buttons for basic file manipulation.


Mini file manager

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


Thumbnails

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


Usability

File dialogs have been a subject of much usability debate. As 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 ...
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 A gnome () is a mythological creature and diminutive spirit in Renaissance magic and alchemy, introduced by Paracelsus in the 16th century and widely adopted by authors, including those of modern fantasy literature. They are typically depict ...
2.6), * Horizontal scrolling (As in Windows file dialogs), * Uses non standard terminology (Commonly in ports from other operating systems) Many widget libraries toolkits such as
GTK GTK (formerly GIMP ToolKit and GTK+) is a free software cross-platform widget toolkit for creating graphical user interfaces (GUIs). It is licensed under the terms of the GNU Lesser General Public License, allowing both Free software, free and ...
have been criticized 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 addressed as more legacy programs are being converted to use newer, more usable file dialogs.


Powerbox

A file powerbox is a file dialog which dynamically grants 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. An important aspect of the powerbox interface is that it can look to the user just like any other insecure file dialog, but can act to protect the bulk of the user's files from potentially untrustworthy software such as
Trojan horses In Greek mythology, the Trojan Horse () was a wooden horse said to have been used by the Greeks during the Trojan War to enter the city of Troy and win the war. The Trojan Horse is not mentioned in Homer's ''Iliad'', with the poem ending befor ...
or other forms of
malware Malware (a portmanteau of ''malicious software'')Tahir, R. (2018)A study on malware and malware detection techniques . ''International Journal of Education and Management Engineering'', ''8''(2), 20. is any software intentionally designed to caus ...
. With a powerbox system, the file dialog is implemented as a trusted part of the system. It runs in a
protection domain Protection is any measure taken to guard something against damage caused by outside forces. Protection can be provided to physical objects, including organisms, to systems, and to intangible things like civil and political rights. Although ...
separate from the application. The powerbox component has access to all the user's files, whereas the application does not.
Apple An apple is a round, edible fruit produced by an apple tree (''Malus'' spp.). Fruit trees of the orchard or domestic apple (''Malus domestica''), the most widely grown in the genus, are agriculture, cultivated worldwide. The tree originated ...
Mac OS X Lion OS X Lion, also known as Mac OS X Lion, (version 10.7) is the eighth major release of macOS, Apple's desktop and server operating system for Mac computers. A preview of OS X 10.7 Lion was publicly shown at the "Back to the Mac" Apple Speci ...
and later versions of
macOS macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
use a powerbox to allow sandboxed applications to open and save files.


Images


See also

*
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 ...


References


External links


Comparisons of various file dialogs
{{Graphical control elements Graphical control elements