Spinning Pinwheel
   HOME

TheInfoList



OR:

The spinning pinwheel is a type of
progress indicator A progress indicator is an element of a command-line interface, a textual user interface, or a graphical user interface that is intended to inform the user that an operation is in progress, to reassure that the system is not hung or waiting for u ...
and a variation of the mouse pointer used in
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 ...
's
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 ...
to indicate that an
application Application may refer to: Mathematics and computing * Application software, computer software designed to help the user to perform specific tasks ** Application layer, an abstraction layer that specifies protocols and interface methods used in a ...
is busy. Officially, the ''macOS Human Interface Guidelines'' refer to it as the spinning wait cursor, but it is also known by other names. These include, but are not limited to, the spinning
beach ball A beach ball is an inflatable ball for beach and water games. Their large size and light weight require little effort to propel them. Beach balls became popular in the beach-themed films of the 1960s starring Annette Funicello and Frankie Ava ...
, the spinning wheel of death, and the spinning beach ball of death.


History

A
wristwatch A watch is a timepiece carried or worn by a person. It is designed to maintain a consistent movement despite the motions caused by the person's activities. A wristwatch is worn around the wrist, attached by a watch strap or another type of ...
was used as the first wait cursor in early versions of the
classic Mac OS Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Mac (computer), Macintosh family of personal computers by Apple Computer, Inc. from 1984 to 2001, starting with System 1 and end ...
. Apple's
HyperCard HyperCard is a application software, software application and software development kit, development kit for Apple Macintosh and Apple IIGS computers. It is among the first successful hypermedia systems predating the World Wide Web. HyperCard com ...
first popularized animated cursors, including a black-and-white spinning quartered circle resembling a
beach ball A beach ball is an inflatable ball for beach and water games. Their large size and light weight require little effort to propel them. Beach balls became popular in the beach-themed films of the 1960s starring Annette Funicello and Frankie Ava ...
. The beach-ball cursor was also adopted to indicate running script code in the
HyperTalk HyperTalk is a discontinued high-level, procedural programming language created in 1987 by Dan Winkler and used in conjunction with Apple Computer's HyperCard hypermedia program by Bill Atkinson. Because the main target audience of HyperTalk ...
-like
AppleScript AppleScript is a scripting language created by Apple Inc. that facilitates automated control of Mac applications. First introduced in System 7, it is currently included in macOS in a package of automation tools. The term ''AppleScript'' may ...
. The cursors could be advanced by repeated HyperTalk invocations of "set cursor to busy". Wait cursors are activated by applications performing lengthy operations. Some versions of the Apple Installer used an animated "counting hand" cursor. Other applications provided their own theme-appropriate custom cursors, such as a revolving
Yin Yang Originating in Chinese philosophy, yin and yang (, ), also yinyang or yin-yang, is the concept of opposite cosmic principles or forces that interact, interconnect, and perpetuate each other. Yin and yang can be thought of as complementary an ...
symbol, Fetch's running dog, Retrospect's spinning tape, and
Pro Tools Pro Tools is a digital audio workstation (DAW) developed and released by Avid Technology (formerly Digidesign) for Microsoft Windows and macOS. It is used for music creation and production, sound for picture (sound design, audio post-productio ...
' tapping fingers. Apple provided the standard interfaces for animating cursors: originally the Cursor Utilities (SpinCursor, RotateCursor) and, in
Mac OS 8 Mac OS 8 is the eighth major release of the classic Mac OS operating system for Macintosh computers, released by Apple Computer on July 26, 1997. It includes the largest overhaul of the classic Mac OS experience since the release of System 7 ...
and later, the
Appearance Manager The Appearance Manager is a component of Mac OS 8 and Mac OS 9 that controls the overall look of the Macintosh graphical user interface widgets and supports several themes. It was originally developed for Apple Computer, Apple's ill-fated Copla ...
(SetAnimatedThemeCursor).


From NeXT Step to MacOS X

NeXTStep 1.0 used a
monochrome A monochrome or monochromatic image, object or palette is composed of one color (or values of one color). Images using only shades of grey are called grayscale (typically digital) or black-and-white (typically analog). In physics, mon ...
icon resembling a spinning
magneto-optical disk A magneto-optical drive is a kind of optical disc drive capable of writing and rewriting data upon a magneto-optical disc. 130 mm (5.25 in) and 90 mm (3.5 in) discs are the most common sizes. In 1983, just a year after t ...
. Some NeXT computers included an optical drive, which was often slower than a magnetic hard drive. This made it a common reason for the wait cursor to appear. When color support was added in NeXTStep 2.0, color versions of all icons were added. The wait cursor was updated to reflect the bright rainbow surface of these removable disks, and that icon remained, even when later machines began using hard disk drives as primary storage. Contemporary
CD-ROM A CD-ROM (, compact disc read-only memory) is a type of read-only memory consisting of a pre-pressed optical compact disc that contains computer data storage, data computers can read, but not write or erase. Some CDs, called enhanced CDs, hold b ...
drives were even slower (at 1x, 150 kbit/s). With the arrival of Mac OS X, the wait cursor was often called the "spinning beach ball" in the press, presumably by authors not knowing its NeXT history or relating it to the HyperCard wait cursor. The two-dimensional appearance was kept essentially unchanged from NeXT to Rhapsody/
Mac OS X Server 1.0 Mac OS X Server 1.0 is an operating system developed by Apple, Inc. released on March 16, 1999. It was the first version of Mac OS X Server. It was Apple's first commercial product to be derived from " Rhapsody"—an eventual replacement for t ...
which otherwise had a user interface design resembling
Mac OS 8 Mac OS 8 is the eighth major release of the classic Mac OS operating system for Macintosh computers, released by Apple Computer on July 26, 1997. It includes the largest overhaul of the classic Mac OS experience since the release of System 7 ...
/ Platinum theme. This continued through Mac OS X 10.0/Cheetah and Mac OS X 10.1/Puma, which introduced the Aqua user interface theme. Mac OS X 10.2/Jaguar gave the cursor a glossy rounded "gumdrop" look in keeping with other OS X interface elements. In OS X 10.10, the entire pinwheel rotates (previously only the overlaying translucent layer moved). With OS X 10.11 El Capitan the spinning wait-cursor's design was updated. It now has less shadowing and has brighter, more solid colors to better match the design of the user interface and the colors also turn with the spinning, not just the texture.


System usage

In single-task operating systems like the original
Macintosh Mac is a brand of personal computers designed and marketed by Apple Inc., Apple since 1984. The name is short for Macintosh (its official name until 1999), a reference to the McIntosh (apple), McIntosh apple. The current product lineup inclu ...
operating system An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ...
, the wait cursor might indicate that the computer was completely unresponsive to user input, or just indicate that response may temporarily be slower than usual due to disk access. This changed with multitasking operating systems such as System Software 5, where it is possible to switch to another application and continue to work there. Individual applications could also choose to display the wait cursor during long operations (and were often able to cancel this display with a keyboard command). After the transition to Mac OS X (
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 ...
), the display of the wait cursor was only able to be controlled by the operating system, not by the
application Application may refer to: Mathematics and computing * Application software, computer software designed to help the user to perform specific tasks ** Application layer, an abstraction layer that specifies protocols and interface methods used in a ...
. This could indicate that the application was in an
infinite loop In computer programming, an infinite loop (or endless loop) is a sequence of instructions that, as written, will continue endlessly, unless an external intervention occurs, such as turning off power via a switch or pulling a plug. It may be inte ...
, or just performing a lengthy operation and ignoring events. Each application has an
event queue In computer science, message queues and mailboxes are software-engineering components typically used for inter-process communication (IPC), or for inter- thread communication within the same process. They use a queue for messaging – the ...
that receives events from the operating system (for example, key presses and mouse button clicks); and if an application takes longer than 2 seconds to process the events in its event queue (regardless of the cause), the operating system displays the wait cursor whenever the cursor hovers over that application's windows. The icon is meant to indicate that the application is temporarily unresponsive, a state from which it should recover. It may also indicate that all or part of the application has entered an unrecoverable state or an infinite loop. During this time the user may be prevented from closing, resizing, or even minimizing the windows of the affected application (although moving the window is still possible in OS X, as well as previously hidden parts of the window which are usually redrawn, even when the application is otherwise unresponsive). While one application is unresponsive, typically other applications are usable. A file system and network delays are another common cause.


Guidelines, tools and methods for developers

By default, events (and any actions they initiate) are processed sequentially, intended to limit the trivial amount of processing from each event. The spinning wait cursor will appear until the operation is complete. If the operation takes too long, the application will appear unresponsive. Developers may prevent this by using separate threads for lengthy processing, allowing the application's main thread to continue responding to external events. However, this greatly increases the application's complexity. Another approach is to divide the work into smaller packets and us
NSRunLoop
or
Grand Central Dispatch Grand Central Dispatch (GCD or libdispatch) is a technology developed by Apple Inc. to optimize application support for systems with multi-core processors and other symmetric multiprocessing systems. It is an implementation of task parallelism ...
. * Bugs in applications can cause them to stop responding to events; for instance, an
infinite loop In computer programming, an infinite loop (or endless loop) is a sequence of instructions that, as written, will continue endlessly, unless an external intervention occurs, such as turning off power via a switch or pulling a plug. It may be inte ...
or a deadlock. Applications afflicted rarely recover. * Problems with the
virtual memory In computing, virtual memory, or virtual storage, is a memory management technique that provides an "idealized abstraction of the storage resources that are actually available on a given machine" which "creates the illusion to users of a ver ...
system—such as slow
paging In computer operating systems, memory paging is a memory management scheme that allows the physical Computer memory, memory used by a program to be non-contiguous. This also helps avoid the problem of memory fragmentation and requiring compact ...
caused by a spun-down
hard disk A hard disk drive (HDD), hard disk, hard drive, or fixed disk is an electro-mechanical data storage device that stores and retrieves digital data using magnetic storage with one or more rigid rapidly rotating hard disk drive platter, pla ...
or disk read-errors—will cause the wait cursor to appear across multiple applications, until the hard disk and virtual memory system recover.
Instruments Instrument may refer to: Science and technology * Flight instruments, the devices used to measure the speed, altitude, and pertinent flight angles of various kinds of aircraft * Laboratory equipment, the measuring tools used in a scientific lab ...
is an application that comes with the Mac OS X Developer Tools. Along with its other functions, it allows the user to monitor and sample applications that are either not responding or performing a lengthy operation. Each time an application does not respond and the spinning wait cursor is activated, Instruments can sample the process to determine which code is causing the application to stop responding. With this information, the developer can rewrite code to avoid the cursor being activated. Apple's guidelines suggest that developers try to avoid invoking the spinning wait cursor, and instead suggest using other
user interface In the industrial design field of human–computer interaction, a user interface (UI) is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine fro ...
indicators, such as an asynchronous
progress indicator A progress indicator is an element of a command-line interface, a textual user interface, or a graphical user interface that is intended to inform the user that an operation is in progress, to reassure that the system is not hung or waiting for u ...
.


See also

*
Pointer (user interface) In human–computer interaction, a cursor is an indicator used to show the current position on a computer monitor or other display device that will respond to input, such as a text cursor or a mouse pointer. Etymology ''Cursor'' is Latin for ...
*
Throbber A throbber, also known as a loading icon, is an animated graphical control element used to show that a computer program is performing an action in the background (such as downloading content, conducting intensive calculations or communicating wi ...
*
Windows wait cursor The Windows wait cursor, informally the Blue circle of death (known as the hourglass cursor until Windows Vista) is a throbber that indicates that an application is busy performing an operation. It can be accompanied by an arrow if the operation i ...


Notes


References


External links


Pointers in macOS
from Apple's website.

Excerpt from “Troubleshooting Mac OS X” book where there are some information on how to deal with Spinning Wait Cursor problems. {{DEFAULTSORT:Spinning Wait Cursor Computer errors MacOS