Sub topic 4
App menus follow the frontmost app
What this chapter assumes
You can open apps and files from Finder, you know where the menu bar and Dock are, and you have seen the Apple menu. This chapter covers the left side of the menu bar: the part that changes as you move between apps.
The working model
The menu bar belongs to the system, but most of its content belongs to one app at a time: the frontmost app. This is the app that receives your keystrokes and clicks. The Apple menu stays fixed at the far left. To its right, macOS shows the menu bar of whichever app is in front.
The first item after the Apple menu is the application menu. It is named after the frontmost app and appears in bold. In Safari, it reads "Safari". In Finder, it reads "Finder". Menus such as File, Edit, View, Window, and Help follow it. Their contents depend entirely on the app.
Frontmost does not mean "has a visible window"
A common source of confusion is that an app can be frontmost with no window open. Finder is the clearest case. If you close every Finder window and click the desktop, the menu bar still reads "Finder". Finder is running and in front, but it has nothing to show except the desktop.
The reverse also happens. An app's window can be visible while another app is frontmost. Look at the bold name next to the Apple menu to see which app will receive your next command. This is the quickest way to find out why a shortcut did something unexpected.
Some situations to watch for:
- Clicking the desktop makes Finder frontmost.
- Clicking a Dock icon makes that app frontmost, and it opens a window if the app normally does so.
- Hiding an app with Command-H removes its windows from view and passes the frontmost role to another app.
- Closing the last window with Command-W usually leaves the app running and frontmost. Many apps keep running with no windows, so the menu bar may not change.
- Quitting with Command-Q removes the app entirely, and macOS picks another app to bring forward.
Standard menus you will see in most apps
Apps are free to design their own menus, but Apple's conventions mean that many of them appear in the same places.
| Menu | Typical contents |
|---|---|
| Application menu | About, Settings, Hide, Quit |
| File | New, Open, Save, Close, Print |
| Edit | Undo, Redo, Cut, Copy, Paste, Select All |
| View | Zoom, sidebar, toolbar, full-screen options |
| Window | Minimize, Zoom, list of open windows |
| Help | A search field for menu items, plus help topics |
Two items in the application menu are worth knowing. Settings (called Preferences in older macOS versions) opens that app's own options. Its shortcut is Command-Comma in nearly every app. Quit closes the app completely, with the shortcut Command-Q.
Menu items tell you more than their names
Menu items carry small signs that explain what they will do:
- A keyboard shortcut at the right edge, such as ⌘C, lets you skip the menu next time.
- An ellipsis (...) after a name means the command asks you for more information before it acts, usually in a dialog. "Save As..." is an example.
- A right-pointing arrow opens a submenu.
- A check mark means a setting is on.
- A dimmed (grayed) item is unavailable right now. "Copy" is dimmed when nothing is selected.
Holding Option while a menu is open changes some items. In Finder, "Close Window" becomes "Close All" in the File menu. In many apps, "Save As..." appears in place of "Duplicate". The result varies by app, so check the open menu while holding the key.
Using the Help menu as a search tool
The Help menu has a search field. Type part of a command name and macOS lists matching menu items from the frontmost app. Hover over a result and macOS opens the menu and points to the item. Click it to run it.
This is useful when you know a command exists but not where it lives. It works in apps that follow the standard menu structure, which includes most apps. It does not search the web or the contents of your documents.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| A shortcut does something unexpected | A different app is frontmost | Check the bold name beside the Apple menu, then click the correct app |
| The menu bar says "Finder" but you wanted to use an app | The app has no windows, or you clicked the desktop | Click the app in the Dock |
| A menu item is dimmed | There is no selection, or the app is not in a state that allows the command | Select something or open a document first |
| The app's menus are missing | The app is running in full screen and the menu bar is hidden | Move the pointer to the top edge of the screen |
| Quit seems to do nothing | The app is showing a dialog, such as "Do you want to save?" | Answer the dialog first |
Menus in full-screen mode
When an app enters full-screen mode, macOS hides the menu bar by default. Move the pointer to the top edge and the bar slides down. It hides again when the pointer leaves. The menus are the same. They are only out of sight.
You can change this behavior in System Settings, under Control Center, with the option for automatically hiding the menu bar. That setting is covered in the chapter on customizing the menu bar.
Menus and multiple displays
If you use more than one display, the menu bar appears on each display. The frontmost app's menus are shown on the display that has your focus, and the other displays show a dimmed menu bar. Clicking a window on another display moves the active menu bar there.
Exercise
You close the last window of Safari, then press Command-N expecting a new Safari window. Instead, a new Finder window opens. What most likely happened, and how do you confirm it?
Show answer
Finder became frontmost, for example because you clicked the desktop after closing the window. Command-N creates a new window in whichever app is frontmost. To confirm, look at the bold application name beside the Apple menu. If it says "Finder", click Safari in the Dock to make it frontmost, then press Command-N again.
Exercise
You want to run a menu command in an app but cannot remember which menu holds it. Name a method that does not involve opening every menu.
Show answer
Open the Help menu of the frontmost app, type part of the command's name in the search field, and select the matching result. macOS opens the menu that contains it and points to the item.