Sub topic 14
When gestures stop working
This chapter gives you a repeatable way to find out why a trackpad or Magic Mouse gesture does nothing, and how to fix it. It assumes you know where System Settings is, you can open Terminal, and you have read the earlier chapters on gestures, system gestures and the defaults command.
Start with a working model
A gesture passes through four layers before anything happens on screen. A failure at any layer looks the same to you: the gesture does nothing.
- Hardware and connection. The device must be powered, paired (if wireless), and physically able to sense your fingers.
- Settings. The gesture must be turned on in System Settings, and set to the finger count you are using.
- The app. The frontmost app must support the gesture. Smart zoom, swipe between pages and rotate are all handled by the app, not the system.
- Conflicts and interference. Another setting, utility or accessibility feature may be consuming the gesture first.
Work from the bottom up. Hardware problems are the cheapest to check and the most often missed.
Step 1: Check the device
Built-in trackpad
If the whole trackpad is unresponsive, not just one gesture, look for physical causes first.
- Dirt and moisture. Wipe the surface with a slightly damp, lint-free cloth. Moisture or oily residue can cause erratic pointer movement and missed taps.
- Gloves and dry fingers. The trackpad senses the electrical properties of skin. Gloves, very dry fingertips and some fingertip coverings reduce accuracy.
- A swollen battery. If the trackpad surface seems raised, or the click feels stuck or uneven, stop using the Mac and have it inspected by Apple or an authorized service provider. Do not press on it.
Wireless Magic Trackpad and Magic Mouse
External devices add a connection layer. Check these in order:
- Confirm the device is switched on. A green strip is visible on the switch of Apple's wireless devices when they are on.
- Open System Settings > Bluetooth and confirm the device shows as Connected.
- Check the battery level in the same Bluetooth pane. A low battery causes lag and dropped input before the device dies completely.
- If the device is connected but erratic, turn Bluetooth off and on, or remove the device from the list and pair it again.
- Move other wireless sources away. Wireless USB hubs and other 2.4 GHz equipment can cause interference.
A Magic Mouse is not a touchpad. Its surface only detects touches on the top, and it has fewer gestures than a trackpad. If a gesture from this tutorial's trackpad chapters has no equivalent in the Mouse pane of System Settings, the mouse does not support it.
Step 2: Check the settings
Open System Settings > Trackpad (or Mouse). Each tab (Point & Click, Scroll & Zoom, More Gestures) has checkboxes and pop-up menus. Look for these common causes:
| Symptom | Likely setting to check |
|---|---|
| Tapping does not click | Point & Click: **Tap to click** is off |
| Right-click does nothing | Point & Click: **Secondary click** is set to Off, or to a corner you are not using |
| Scrolling goes the "wrong" way | Scroll & Zoom: **Natural scrolling** |
| Pinch does nothing | Scroll & Zoom: **Zoom in or out** is off |
| Three-finger swipe does the wrong thing | More Gestures: the swipe is set to four fingers, or to a different action |
| Three-finger drag does not work | Accessibility > Pointer Control > Trackpad Options: **Use trackpad for dragging** set to Three Finger Drag |
| Pointer feels too slow or too fast | Point & Click: **Tracking speed** |
Finger count conflicts
Several gestures can share three or four fingers. For example, three-finger drag, a three-finger swipe to switch full-screen apps, and a three-finger tap for Look up cannot all use the same motion at once. When you turn on three-finger drag, macOS moves the swipe gestures that used three fingers to four fingers. If a swipe "stopped working," check whether it moved to a different finger count.
Preview animations
Each gesture in System Settings plays a short video when you hover over it. Use it to compare your motion to the intended one. Many failed gestures are the right gesture with the wrong finger spacing, speed or direction. Keep fingers slightly apart, and move with a steady speed rather than a jerk.
Step 3: Check whether the app supports it
If a gesture works in Safari but not in another app, the setting is probably fine. Gestures such as swipe between pages, smart zoom and rotate need the app to respond to them.
- Smart zoom (two-finger double-tap) works in Safari, Preview and some other apps. It does nothing in apps that do not implement it.
- Rotate works in apps that show rotatable content, such as Preview and Photos, not in a text editor.
- Swipe between pages depends on the app having a back and forward history.
Test the same gesture in a built-in app such as Safari or Preview. If it works there, the problem is the other app. Update it, restart it, or check its own preferences.
Step 4: Restart, then isolate
A restart clears many temporary states, including a stuck input daemon or a Bluetooth glitch. Restart the Mac before changing deeper settings.
If the problem remains, look for something interfering:
- Third-party mouse and gesture utilities. Apps that remap gestures, add smooth scrolling or customize the mouse can take over input events. Quit them, or remove their background items under System Settings > General > Login Items & Extensions, then test again.
- Accessibility features. Check Accessibility > Pointer Control. Options such as Mouse Keys, a "Ignore built-in trackpad when mouse or wireless trackpad is present" setting, and Trackpad Options can all change behavior. The ignore option in particular makes the built-in trackpad appear dead whenever an external mouse is connected.
- Remote and virtual desktop sessions. Screen sharing and virtual machine apps may capture gestures and pass them to another system.
- Another user account. Create a temporary standard user, log in, and test. If gestures work there, the cause is in your account's preferences or login items, not the hardware or the system.
Step 5: Inspect preferences with defaults
Gesture settings are stored as preferences. You can read them with defaults to confirm that what you see in System Settings matches what is stored. Reading is safe. Writing is covered below.
defaults read com.apple.AppleMultitouchTrackpad Clicking
defaults read NSGlobalDomain com.apple.swipescrolldirection
defaults -currentHost read NSGlobalDomain com.apple.mouse.tapBehaviorThe first command prints 1 when tap to click is on for the built-in trackpad. The second prints 1 when natural scrolling is on and 0 when it is off. The third reads the per-host tap setting. If a key has never been set, defaults reports that the pair does not exist. That message is not an error in your Mac. It means the default value is in use.
Why two places can disagree
Tap to click is stored in two locations: the trackpad domain and a per-host global setting. Bluetooth trackpads use a separate domain, com.apple.driver.AppleBluetoothMultitouch.trackpad. If the built-in trackpad and a Magic Trackpad behave differently, compare the keys in both domains.
defaults read com.apple.AppleMultitouchTrackpad
defaults read com.apple.driver.AppleBluetoothMultitouch.trackpadEach command prints a dictionary of all stored keys for that device. Compare the two outputs for differences in the key you are investigating.
Resetting a device's preferences
If stored values look wrong or contradict System Settings, you can move the preference files aside rather than deleting them. Quit System Settings first.
mkdir -p ~/Desktop/gesture-prefs-backup
mv ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist ~/Desktop/gesture-prefs-backup/ 2>/dev/null
mv ~/Library/Preferences/com.apple.driver.AppleBluetoothMultitouch.trackpad.plist ~/Desktop/gesture-prefs-backup/ 2>/dev/null
mv ~/Library/Preferences/com.apple.driver.AppleBluetoothMultitouch.mouse.plist ~/Desktop/gesture-prefs-backup/ 2>/dev/nullLog out and back in, or restart. macOS recreates the files with defaults. You will need to set your gestures again in System Settings. If nothing improves, move the files from the backup folder back to ~/Library/Preferences/. The 2>/dev/null part hides the message for any file that does not exist, which is normal if you never paired that kind of device.
Edge cases and common errors
- Gesture works on login screen but not in your session. Points to user preferences or login items, not hardware.
- Tap to click works only after a restart. The preference was changed with
defaults writebut not loaded. Set it in System Settings instead. - Only one finger count fails. A finger is probably resting too close to the others, or the palm is touching the surface. Relax your hand and spread your fingers slightly.
- Pointer jumps while typing. Palm contact is being read as touch. Reduce hand pressure and check that the surface is clean.
- Force Click does nothing. The feature needs a Force Touch trackpad and the Force Click and haptic feedback option turned on. Older Multi-Touch trackpads lack the pressure sensor.
- System gestures cause unexpected switching. Check the Mission Control and Spaces settings, and the Keyboard Shortcuts for Mission Control, which can overlap with gestures.
- Gesture stops after a macOS update. Check System Settings again, since an update can reset a setting or move a finger count. Then restart and, if needed, reset the preference files as shown above.
A repeatable checklist
- Does the pointer move and click? If not, fix the device, battery or Bluetooth connection.
- Is the gesture turned on in System Settings, with the finger count you expect?
- Does it work in Safari or Preview? If yes, the other app is the issue.
- Restart the Mac.
- Quit gesture utilities and check Pointer Control.
- Test in a new standard user account.
- Compare stored values with
defaults read. - Back up and reset the preference files.
- If a new account also fails, suspect hardware and contact Apple Support.
Exercise
Your three-finger swipe to switch full-screen apps stopped working right after you enabled three-finger drag. The pointer, clicking and scrolling all work. Which layer is the likely cause, and where do you look first?
Show answer
The settings layer. Enabling three-finger drag moves swipe gestures that used three fingers over to four fingers. Open System Settings > Trackpad > More Gestures and check the finger count for swiping between full-screen apps. Try a four-finger swipe.
Exercise
Natural scrolling is on in System Settings, but you want to confirm what is stored. Which command do you run, and what value should it print?
Show answer
defaults read NSGlobalDomain com.apple.swipescrolldirection. It prints 1 when natural scrolling is on and 0 when it is off.
Exercise
A Magic Trackpad works normally, but the built-in trackpad on the same Mac ignores taps whenever the Magic Trackpad is connected. Name one setting that could cause this and how you would confirm it.
Show answer
The Accessibility > Pointer Control option to ignore the built-in trackpad when a mouse or wireless trackpad is present. Open that pane and see whether it is on. Turn the option off, or disconnect the external device, and test the built-in trackpad again.