Sub topic 6
Zooming, smart zoom and rotating
This chapter covers the three gestures that change how content is displayed: pinch to zoom, smart zoom, and rotate. It assumes you can point, click and scroll on a Mac, and that you know where System Settings is. Earlier chapters covered finding the gesture settings, tap to click and scrolling. Here you will learn how each gesture works, which apps respond to it, and why it sometimes does nothing.
What these gestures do
All three gestures work on the surface of a Multi-Touch trackpad. They use two fingers and send continuous input to the app under the pointer. The app decides what to do with it. macOS does not zoom or rotate content for you. It reports the finger movement, and the app responds.
| Gesture | Motion | Typical result |
|---|---|---|
| Pinch to zoom | Spread two fingers apart or bring them together | Content gets larger or smaller |
| Smart zoom | Double-tap with two fingers | Content jumps to a sensible zoom level, and a second double-tap returns it |
| Rotate | Twist two fingers around a point between them | Content turns clockwise or counterclockwise |
Because the app interprets the input, the same gesture can behave differently in Safari, Preview and Photos. A gesture that does nothing in one app may work well in another.
Pinch to zoom
Place two fingers on the trackpad and move them apart to zoom in. Move them together to zoom out. The zoom is continuous. It follows how far your fingers travel, so you can stop at any size.
Zooming is centered on the pointer position in most apps. If you want to enlarge a particular part of a page, put the pointer over it first, then pinch.
Apps that commonly support pinch to zoom include:
- Safari and other browsers, which scale the page
- Preview, which scales images and PDF pages
- Photos, which zooms into a picture
- Maps, which changes the map scale
- Many third-party editors, drawing tools and viewers
Pinch zoom also works in Finder in some views. In icon view, for example, Quick Look previews respond to it.
Zoom limits
Apps set their own minimum and maximum zoom. Safari stops at its page zoom limits. Preview stops at fixed percentages. When you reach a limit, the pinch has no further effect. This is normal behavior and not a fault.
Pinch zoom versus page zoom keys
Keyboard shortcuts such as Command-plus and Command-minus also zoom, but they move in fixed steps. Pinch is smooth. In Safari the two methods interact. A pinch changes the visual zoom of the page, and it can reset when you reload or navigate, while a keyboard zoom level is often remembered for the site. If a page keeps coming back at an unexpected size, check whether you used keys earlier.
Smart zoom
Smart zoom is a double-tap with two fingers. Tap twice quickly, without pressing down hard enough to click. It is a double tap, not a double click.
In Safari, smart zoom looks at the page structure and enlarges the block of content under the pointer, such as a paragraph or an image column. Tap twice again and the page returns to its previous size. In Preview, it toggles between fit-to-window and a closer view of a PDF.
Because smart zoom depends on the app recognizing content blocks, it is less predictable than pinch. Some apps ignore it entirely.
Smart zoom and tap to click
Smart zoom is a two-finger double tap. It does not require tap to click to be on, because it is a separate gesture with its own setting. If it seems unreliable, check the Trackpad pane first, as described below, before you assume a hardware fault.
Rotate
To rotate, put two fingers on the trackpad and twist them as if turning a dial. Turn clockwise to rotate content clockwise.
Rotate is the most app-dependent of the three gestures. It works in Preview for images and pages, in Photos when you edit, and in some drawing and mapping apps. Many apps do not respond at all, including most web pages. Maps, for example, may rotate the map view, while Safari ignores the gesture.
Rotation usually changes how you view an item. In some apps it changes the item itself. Preview, for example, rotates the image in the open window, and you must save to keep the change. Check the app's behavior before you save.
You can combine pinch and rotate in one motion. Place two fingers, spread and twist at the same time. Apps that support both, such as Maps and Photos, handle the combined input smoothly.
Turning the gestures on or off
These gestures are controlled in System Settings. Open System Settings, choose Trackpad, then open the Scroll & Zoom tab. You will see three switches:
- Zoom in or out, for pinch to zoom
- Smart zoom, for the two-finger double-tap
- Rotate, for the twist gesture
Each has a short animation beside it that shows the motion. Use the animation to check that your finger movement matches. The wording of labels and the position of tabs can vary between macOS versions, so look for the Scroll & Zoom heading if the layout differs.
If a gesture is switched off here, no app will receive it. This is the first thing to check when a gesture stops working.
Zoom gestures and the Accessibility zoom feature
macOS has a separate screen magnifier in Accessibility settings. It enlarges the whole display and is not the same as pinch to zoom in an app. The two features are independent.
- Pinch to zoom changes the scale of content inside one app.
- The Accessibility zoom feature magnifies the screen, whatever app is open.
One option in Accessibility zoom lets you hold a modifier key and scroll to magnify the screen. This uses the scroll gesture, not the pinch. If your screen suddenly magnifies when you scroll, you probably have this option enabled together with a held modifier key. It is not a pinch problem.
Common errors
Most problems come from a small set of causes.
- The gesture does nothing in one app. The app may not support it. Test in Preview or Photos, which support all three gestures. If it works there, the trackpad is fine.
- Fingers are too close together. The trackpad needs to recognize two separate touches. Keep fingers slightly apart, and keep them flat, not on the tips.
- The pointer is over the wrong area. Zoom targets the area under the pointer. If a sidebar or toolbar is under it, the gesture may do nothing.
- The setting is off. Check the three switches in the Scroll & Zoom tab.
- Smart zoom triggers by accident. A light double tap with two fingers can happen while you scroll. If this annoys you, turn Smart zoom off. Pinch and rotate are unaffected.
- Rotate triggers by accident. Pinching with a slight twist can rotate an image or map. Turn off Rotate if this happens often.
- The surface is dirty or wet. Moisture and grease confuse touch detection. Wipe the trackpad with a slightly damp, lint-free cloth.
Checking the preferences from Terminal
The Scroll & Zoom switches are stored as preferences. You can read them with the defaults command, which a later chapter covers in depth. The keys below are the ones commonly used on the built-in trackpad, though they can vary between macOS versions. System Settings is the supported way to change them.
defaults read com.apple.AppleMultitouchTrackpad TrackpadPinch
defaults read com.apple.AppleMultitouchTrackpad TrackpadTwoFingerDoubleTapGesture
defaults read com.apple.AppleMultitouchTrackpad TrackpadRotateA result of 1 means the gesture is on and 0 means it is off. If a key has never been set, defaults reports that the pair does not exist. That means the system default applies. It is not an error with the trackpad.
For a Bluetooth trackpad, the same keys exist in the com.apple.driver.AppleBluetoothMultitouch.trackpad domain. Reading the wrong domain returns a value that does not match what you see on screen, so check which device you are using.
Edge cases
- Pinch inside a full-screen app. The gesture still goes to the app. Full-screen mode does not block it.
- Zoom in a web view inside another app. Apps that embed web content may or may not forward pinch to the page.
- Multiple displays. The gesture applies to the app under the pointer, so check which display holds the pointer.
- Remote desktop and virtual machines. These often capture input and may translate it differently. Pinch may arrive as a scroll, or not at all.
- Pinch on a Magic Mouse. The mouse surface supports only single-finger and two-finger swipes and taps. It does not support pinch or rotate. Use the keyboard shortcuts or the Accessibility zoom option instead.
Exercise
You pinch to zoom in Safari and it works, but a two-finger twist does not rotate the page. Is the trackpad faulty, and how would you confirm it?
Show answer
The trackpad is probably fine. Safari does not rotate web pages, so the app ignores the gesture. To confirm, open an image in Preview and twist two fingers. If it rotates, the Rotate setting and the hardware are working. You can also check that Rotate is on in System Settings, Trackpad, Scroll & Zoom.
Exercise
Your screen magnifies when you scroll, even though you never pinch. What feature is the likely cause, and where do you turn it off?
Show answer
The Accessibility zoom option that magnifies the screen when you hold a modifier key and scroll. Open System Settings, go to Accessibility, then Zoom, and turn off the scroll gesture option. It is separate from pinch to zoom in the Trackpad pane.