File dialog

Last updated
A "save as" file dialog from GTK. The file browser is hidden inside a disclosure widget. Expander.png
A "save as" file dialog from GTK. The file browser is hidden inside a disclosure widget.
An "open" file dialog opened from a web browser on Windows 10. An "open" file dialog from a web browser on Windows 10.jpg
An "open" file dialog opened from a web browser on Windows 10.

In computing, a file dialog (also called file selector/chooser, file requester, or open and save dialog) is a dialog box-type graphical control element that allows users to choose a file from the file system. They differ from file managers 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.

Contents

Before file dialogs, most programs requested files as a command line 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 searchbox 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 receiving constant use, ease of use is a major factor in their design. The most common reasons for file dialog usability problems include:

Many widget libraries toolkits such as GTK have been criticized for their lack of it.[ citation needed ] 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 or other forms of Malware.

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 Apple Mac OS X Lion. [1]

See also

Related Research Articles

A file manager or file browser is a computer program that provides a user interface to manage files and folders. The most common operations performed on files or groups of files include creating, opening, renaming, copying, moving, deleting and searching for files, as well as modifying file attributes, properties and file permissions. Folders and files may be displayed in a hierarchical tree based on their directory structure.

The graphical user interface, or GUI, is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, instead of text-based UIs, typed command labels or text navigation. GUIs were introduced in reaction to the perceived steep learning curve of command-line interfaces (CLIs), which require commands to be typed on a computer keyboard.

In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system that share a common graphical user interface (GUI), sometimes described as a graphical shell. The desktop environment was seen mostly on personal computers until the rise of mobile computing. Desktop GUIs help the user to easily access and edit files, while they usually do not provide access to all of the features found in the underlying operating system. Instead, the traditional command-line interface (CLI) is still used when full control over the operating system is required.

AppleScript is a scripting language created by Apple Inc. that facilitates automated control over scriptable Mac applications. First introduced in System 7, it is currently included in all versions of macOS as part of a package of system automation tools. The term "AppleScript" may refer to the language itself, to an individual script written in the language, or, informally, to the macOS Open Scripting Architecture that underlies the language.

In user interface design for computer applications, a modal window is a graphical control element subordinate to an application's main window.

<span class="mw-page-title-main">File Explorer</span> File manager application that is included with releases of the Microsoft Windows operating system

File Explorer, previously known as Windows Explorer, is a file manager application and default desktop environment that is included with releases of the Microsoft Windows operating system from Windows 95 onwards. It provides a graphical user interface for accessing the file systems. It is also the component of the operating system that presents many user interface items on the screen such as the taskbar and desktop. Controlling the computer is possible without File Explorer running.

The Taskbar is a graphical user interface element that has been part of Microsoft Windows since Windows 95, displaying and facilitating switching between running programs. The Taskbar and the associated Start Menu were created and named in 1993 by Daniel Oran, a program manager at Microsoft who had previously collaborated on Great ape language research with the behavioral psychologist B.F. Skinner at Harvard.

<span class="mw-page-title-main">Graphical widget</span> Element of interaction in a graphical user interface

A graphical widget 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 manipulation to read or edit information about an application. User interface libraries such as Windows Presentation Foundation, Qt, GTK, and Cocoa, contain a collection of controls and the logic to render these.

<span class="mw-page-title-main">Fox toolkit</span>

The FOX toolkit is an open-source, cross-platform widget toolkit, i.e. a library of basic elements for building a graphical user interface (GUI). FOX stands for Free Objects for X.

<span class="mw-page-title-main">At Ease</span> Computer software

At Ease was an alternative to the Macintosh desktop developed by Apple Computer in the early 1990s for the classic Mac OS. It provided a simple environment for new Macintosh users and young children to help them to work without supervision. At Ease replaces the Finder desktop, providing a simple tabbed panel-oriented graphical user interface in which applications and documents are represented by icons on large buttons. Aside from its security features, its interface and basic functionality is very similar to the Packard Bell Navigator.

On the classic Mac OS, extensions were small pieces of code that extended the system's functionality. They were run initially at start-up time, and operated by a variety of mechanisms, including trap patching and other code modifying techniques. Initially an Apple developer hack, extensions became the standard way to provide a modular operating system. Large amounts of important system services such as the TCP/IP network stacks and USB and FireWire support were optional components implemented as extensions. The phrase "system extension" later came to encompass faceless background applications as well.

The following tables compare general and technical information for a number of notable file managers.

A menu bar is a graphical control element which contains drop-down menus.

Compared with previous versions of Microsoft Windows, features new to Windows Vista are very numerous, covering most aspects of the operating system, including additional management features, new aspects of security and safety, new I/O technologies, new networking features, and new technical features. Windows Vista also removed some others.

<span class="mw-page-title-main">Workbench (AmigaOS)</span> Graphical user interface for the Amiga computer

Workbench is the desktop environment and graphical file manager of AmigaOS developed by Commodore International for their Amiga line of computers. Workbench provides the user with a graphical interface to work with file systems and launch applications. It uses a workbench metaphor for representing file system organisation.

<span class="mw-page-title-main">Trash (computing)</span> Temporary storage for deleted files

In computing, the trash is a graphical user interface desktop metaphor for temporary storage for files set aside by the user for deletion, but not yet permanently erased. The concept and name is part of Mac operating systems, a similar implementation is called the Recycle Bin in Microsoft Windows, and other operating systems use other names.

PMView is a raster graphics image viewer, converter, and organizer with basic image editing capabilities. It was originally developed for OS/2 but is also available for Microsoft Windows.

<span class="mw-page-title-main">Haiku Applications</span> List of applications bundled with the Haiku operating system

Haiku is a free and open-source operating system compatible with the now discontinued BeOS.

References

  1. "John Siracusa's Mac OS X Lion review at ArsTechnica".