Windows and How to Work Them

In designing OS X, one of Apple’s key goals was to address the window-proliferation problem. As you create more files, stash them in more folders, and launch more programs, it’s easy to wind up paralyzed before a screen awash with overlapping rectangles.

That’s the problem admirably addressed by Mission Control, described in detail on Mission Control: Death to Window Clutter. Some handy clutter and navigation controls are built into the windows themselves, too. For example:

The Sidebar (Figure 1-3) is the pane at the left side of every Finder window, unless you’ve hidden it. (It’s also at the left side of every Open dialog box and every full-sized Save dialog box.) In Yosemite, it’s slightly translucent—your desktop picture shines through it just a little bit.

The Sidebar has as many as four sections, each preceded by a collapsible heading.

Here are the headings you’ll soon know and love. (You can drag these headings up and down in the Sidebar to rearrange them.)

The beauty of this parking lot for containers is that it’s so easy to set up with your favorite places. For example:

Then again, why would you ever want to hide the Sidebar? It’s one of the handiest navigation aids since the invention of the steering wheel. For example:

The title bar (Figure 1-4) has several functions. First, when several windows are open, the darkened title bar, window name, mini-icon, and colored left-corner buttons tell you which window is active (in front); in background windows, these elements appear dimmed and colorless. Second, the title bar acts as a handle that lets you move the window around on the screen.

You can also move a window by dragging the solid gray strip on the bottom, assuming you’ve made it appear (choose View→Status Bar or View→Show Path Bar).

After you’ve opened one folder that’s inside another, the title bar’s secret folder hierarchy menu is an efficient way to backtrack—to return to the enclosing window. Get in the habit of right-clicking (or two-finger clicking, or Control-clicking, or ⌘-clicking) the name of the window to access the menu shown in Figure 1-5. (You can release the Control or ⌘ key immediately after clicking.)

By choosing the name of a folder from this menu, you open the corresponding window. When browsing the contents of the Users folder, for example, you can return to the main hard drive window by right-clicking or two-finger clicking the folder name “Users” and then choosing Macintosh HD from the menu.

Once you’ve mastered dragging, you’re ready for these title bar tips:

As the tip of your cursor crosses the three buttons at the upper-left corner of a window, tiny symbols appear inside them: , , and . Ignore the gossip that these symbols were added to help color-blind people who can’t distinguish the colors red, yellow, and green. Color-blind people are perfectly capable of distinguishing the buttons by their positions, just as they do with traffic lights.

But for people who aren’t paying attention to button position, these cues distinguish the buttons when all three are identical shades of gray, as they are when you use Graphite mode (Graphic Designers’ Corner: The Gray Look). They also signal when it’s time to click. For example, as described in the previous section, you can use these three buttons even when the window is not at the front. You know the buttons are ripe for the clicking when you see the little symbols appear under your cursor.

The most important window gadget is the Close button, the red, droplet-like button in the upper-left corner (Figure 1-4). Clicking it closes the window, which collapses back into the icon from which it came.

The universal keyboard equivalent of the Close button is ⌘-W (for window)—a keystroke well worth memorizing. If you get into the habit of dismissing windows with that deft flick of your left hand, you’ll find it far easier to close several windows in a row, because you won’t have to aim for successive Close buttons.

In many programs, something special happens if you’re pressing the Option key when using the Close button or its ⌘-W equivalent: You close all open windows. This trick is especially useful in the Finder, where a quest for a particular document may have left your screen plastered with open windows for which you have no further use. Option-clicking the Close button of any one window (or pressing Option-⌘-W) closes all of them.

The Option-key trick doesn’t close all windows in every program—only those in the current program. Option-closing a Microsoft Word document closes all Word windows, but your Finder windows remain open.

Moreover, Option-closing doesn’t work in all programs.

Click this yellow dot to minimize any Mac window, sending it shrinking, with a genie-like animated effect, into the right end of the Dock, where it then appears as an icon. The window isn’t gone. It’s just out of your way for the moment, as though you’ve set it on a shelf. To bring it back, click the newly created Dock icon; see Figure 1-6. Chapter 4 has more on the Dock.

Minimizing is a great window-management tool. In the Finder, minimizing a window lets you see whatever icons were hiding behind it. In a Web browser, minimizing lets you hide a window that has to remain open (because you’re waiting for some task to finish) so you can read something else in the meantime.

And now, some Minimize button micro-goodies:

In Yosemite, Apple changed the purpose of this third dot, the green one, on every window’s title bar (in most programs, anyway). A click here throws the window into Full Screen mode, in which the menu bars and window edges disappear, in the name of making your window fill your screen edge to edge. See Full Screen Mode for details.

As your cursor approaches this green dot, a little indicator appears inside it: . That’s the hint that you’re about to enter Full Screen mode.

And once you are in Full Screen mode, that shape changes to this: . That’s right: It’s the universal symbol for “Click me to leave Full Screen mode.”

In OS X versions before Yosemite, this button was called the Zoom button. It made a desktop window just large enough to reveal all the icons inside it (or, in programs, large enough to reveal all the text, graphics, or music). (The Window→Zoom command does the same thing, and so does double-clicking the title bar of a Finder window.)

And if you miss those hazy, happy days, just press the Option key as you click. The button sprouts a button, just as it did in the olden days. Now you’ll get a zoomed window instead of a full-screen one. (A second Option-click restores the window to its previous size.)

In the Finder, there’s a tiny icon next to the window’s name (Figure 1-7). It’s a stand-in—a proxy—for that window’s folder itself.

By dragging this tiny icon, you can move or copy the folder into a different folder or disk, into the Sidebar, into the Trash, or into the Dock without having to first close the window.

When you drag this proxy icon to a different place on the same disk, the usual folder-dragging rules apply: Hold down the Option key if you want to copy the original disk or folder; ignore the Option key to move the original folder. (You’ll find details on moving and copying icons in the next chapter.)

Many programs, including Microsoft Word, Preview, TextEdit, and others, offer the same mini-icon in open document windows. Once again, you can use it as a handle to drag a document into a new folder or onto a new disk. Sometimes, doing that really does move the document—but more often, you just get an alias of it in the new location.

Chapter 4 describes this fascinating desktop-window element in great detail.

Double-clicking a folder in a window doesn’t leave you with two open windows. Instead, double-clicking a folder makes the contents of the original window disappear (Figure 1-8).

So what if you’ve now opened inner folder B, and you want to backtrack to outer folder A? In that case, just click the tiny button—the Back button—in the upper-left corner of the window, or use one of these alternatives:

None of that helps you, however, if you want to move a file from one folder into the other, or to compare the contents of two windows. In that case, you probably want to see both windows open at the same time.

You can open a second window using any of these techniques:

The upper-right corner of every Finder window used to contain a little button that looked like a half-inch squirt of toothpaste. Clicking it entered Old Finder Mode.

Old Finder Mode (not the technical Apple term) was designed for people who come to OS X from an earlier version, like Mac OS 9, and lose half their hair when they discover how different things are in OS X.

In this mode, two of the biggest behavioral differences between OS X and its predecessors disappear:

The Old Finder Mode button no longer appears, but the mode itself is still available. Press Option-⌘-T, the equivalent for the View→Hide Toolbar command. (Repeat that keystroke or command to turn Old Finder Mode off again.)

Here’s one of the biggest changes from the OS X of old: Scroll bars don’t appear nearly as often as they used to (see Figure 1-9).

A scroll bar, of course, is the traditional window-edge slider that lets you move through a document that’s too big for the window. Without scroll bars, for example, you’d never be able to write a letter that’s taller than your screen.

On the very first Macs, scroll bars were a necessary evil; those computers were too slow and underpowered to manage visibly moving the contents of the window. That’s why scroll bars were invented in the first place: to give you some feedback about how far you were moving into a document, because the window itself went pure white when you dragged the handle.

Today, though, you can manipulate the contents of a window and see where you are at all times. Nobody questions the absence of scroll bars on an iPad, right? Because you just push the contents of a window around with your fingers to scroll.

In OS X, you scroll by pushing two fingers up the trackpad (or one finger up the Magic Mouse) or by turning your mouse’s scroll wheel. You almost never use the antiquated method of dragging the scroll bar’s handle manually, with the mouse.

That’s a long-winded way of explaining why, in most programs, the scroll bars are hidden. See Figure 1-9 for details.

For the first 28 years of its existence, the Mac offered only one way to make a window bigger or smaller: Drag the ribbed-looking lower-right corner.

These days, you can drag any edge of a window to change its shape. Just move the pointer carefully to the exact top, bottom, left, or right edge; once its shape changes to a double-headed arrow, you can drag to move that window’s edge in or out.

Choose View→Show Path Bar to see a tiny map at the bottom of the window, showing where you are in the folder hierarchy. If it says Casey→Pictures→Picnic, well, then, by golly, you’re looking at the contents of the Picnic folder, which is inside Pictures, which is inside your Home folder (assuming your name is Casey).

Out of the box, OS X hides yet another information strip at the bottom of a window: the status bar, which tells you how many icons are in the window (“14 items,” for example) and the amount of free space remaining on the disk. To make it appear, choose View→Show Status Bar.