Last active
March 24, 2024 12:24
-
-
Save joshuataylor/90963cf697a300a79a9998900b7deb54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MacOS Right Click Issues | |
tl;dr: MacOS right click sometimes doesn't seem to work | |
[This reddit thread](https://old.reddit.com/r/MacOS/comments/16tgy8e/intermittent_mouse_click_issues_after_sonoma/) confirmed others are having the same issue. | |
I started having this issue 2023-03-22, somehow out of the blue, with nothing changed, I downgraded from 14.4 to 14.3.1, still the same issue. | |
It HAS to be a software bug, and I'm slightly insane enough to prove it, as right click sometimes just doesn't work, which is absolutely infurating. | |
## My Configuration | |
Model: Macbook Pro 14-inch, 2023 (early?), M2 Max. | |
Trackpad settings: | |
[Point & Click](https://github.com/joshuataylor/macos-right-click/assets/225131/7301658d-3d18-4608-9cf0-b17c887d1432) | |
Tracking speed: Second notch | |
Click: Medium | |
Force click: Off | |
Lookup: Off | |
Secondary click: `Click in bottom right corner` | |
Tap to click: On | |
[Scroll & Zoom](https://github.com/joshuataylor/macos-right-click/assets/225131/0854e519-d60a-40c0-bfd7-8f876289dc07) | |
Natural scrolling: Off | |
Zoom in and out: off | |
Smart zoom: Off | |
Rotate: Off | |
[More Gestures](https://github.com/joshuataylor/macos-right-click/assets/225131/f6746a16-2b60-465a-8170-327d84baa3be) | |
Swipe between pages: off | |
Swipe between full-screen applications: off | |
Notification Centre: off | |
Mission Control: off | |
App Exposé: off | |
Launchpad: off | |
Show Desktop: off | |
`defaults read`/`defaults export` can show your settings, here are my relevant settings: | |
``` | |
{ | |
"Apple Global Domain" = { | |
AppleEnableSwipeNavigateWithScrolls = 0; | |
AppleKeyboardUIMode = 0; | |
AppleMiniaturizeOnDoubleClick = 0; | |
ApplePressAndHoldEnabled = 0; | |
AppleReduceDesktopTinting = 1; | |
AppleWindowTabbingMode = manual; | |
CGDisableCursorLocationMagnification = 1; | |
ContextMenuGesture = 1; | |
InitialKeyRepeat = 15; | |
KeyRepeat = 2; | |
NSAutomaticCapitalizationEnabled = 0; | |
NSAutomaticDashSubstitutionEnabled = 0; | |
NSAutomaticInlinePredictionEnabled = 0; | |
NSAutomaticPeriodSubstitutionEnabled = 0; | |
NSAutomaticQuoteSubstitutionEnabled = 0; | |
NSAutomaticSpellingCorrectionEnabled = 0; | |
NSDisableAutomaticTermination = 1; | |
NSNavPanelExpandedStateForSaveMode = 1; | |
NSQuitAlwaysKeepsWindows = 1; | |
NSScrollAnimationEnabled = 0; | |
"com.apple.finder.SyncExtensions" = { | |
collaborationMap = { | |
}; | |
dirMap = { | |
}; | |
}; | |
"com.apple.keyboard.fnState" = 1; | |
"com.apple.springing.delay" = "0.5"; | |
"com.apple.springing.enabled" = 1; | |
"com.apple.swipescrolldirection" = 0; | |
"com.apple.trackpad.forceClick" = 0; | |
"com.apple.trackpad.scaling" = "0.125"; | |
"com.apple.trackpad.scrolling" = "0.0735"; | |
}; | |
"com.apple.AppleMultitouchTrackpad" = { | |
ActuateDetents = 0; | |
Clicking = 1; | |
DragLock = 0; | |
Dragging = 0; | |
FirstClickThreshold = 1; | |
ForceSuppressed = 1; | |
SecondClickThreshold = 1; | |
TrackpadCornerSecondaryClick = 2; | |
TrackpadFiveFingerPinchGesture = 0; | |
TrackpadFourFingerHorizSwipeGesture = 0; | |
TrackpadFourFingerPinchGesture = 0; | |
TrackpadFourFingerVertSwipeGesture = 0; | |
TrackpadHandResting = 1; | |
TrackpadHorizScroll = 1; | |
TrackpadMomentumScroll = 1; | |
TrackpadPinch = 0; | |
TrackpadRightClick = 0; | |
TrackpadRotate = 0; | |
TrackpadScroll = 1; | |
TrackpadThreeFingerDrag = 0; | |
TrackpadThreeFingerHorizSwipeGesture = 0; | |
TrackpadThreeFingerTapGesture = 0; | |
TrackpadThreeFingerVertSwipeGesture = 0; | |
TrackpadTwoFingerDoubleTapGesture = 0; | |
TrackpadTwoFingerFromRightEdgeSwipeGesture = 0; | |
USBMouseStopsTrackpad = 0; | |
UserPreferences = 1; | |
version = 12; | |
}; | |
"com.apple.driver.AppleBluetoothMultitouch.trackpad" = { | |
Clicking = 1; | |
DragLock = 0; | |
Dragging = 0; | |
TrackpadCornerSecondaryClick = 2; | |
TrackpadFiveFingerPinchGesture = 0; | |
TrackpadFourFingerHorizSwipeGesture = 0; | |
TrackpadFourFingerPinchGesture = 0; | |
TrackpadFourFingerVertSwipeGesture = 0; | |
TrackpadHandResting = 1; | |
TrackpadHorizScroll = 1; | |
TrackpadMomentumScroll = 1; | |
TrackpadPinch = 0; | |
TrackpadRightClick = 0; | |
TrackpadRotate = 0; | |
TrackpadScroll = 1; | |
TrackpadThreeFingerDrag = 0; | |
TrackpadThreeFingerHorizSwipeGesture = 0; | |
TrackpadThreeFingerTapGesture = 0; | |
TrackpadThreeFingerVertSwipeGesture = 0; | |
TrackpadTwoFingerDoubleTapGesture = 0; | |
TrackpadTwoFingerFromRightEdgeSwipeGesture = 0; | |
USBMouseStopsTrackpad = 0; | |
UserPreferences = 1; | |
version = 5; | |
}; | |
"com.apple.preference.trackpad" = { | |
ForceClickSavedState = 0; | |
}; | |
"com.apple.systemsettings.extensions" = { | |
LastIndexed = { | |
"com.apple.CD-DVD-Settings.extension" = a222cff6cd5c712885580ac94760c7d2; | |
"com.apple.ClassKit-Settings.extension" = 0e3bd47256ba93f644f52be08079c9fb; | |
"com.apple.Game-Controller-Settings.extension" = aba59f559682f832eb4e63be08423a1e; | |
"com.apple.Mouse-Settings.extension" = 0ab66ee15bae3a7b1315112481f76732; | |
"com.apple.Touch-ID-Settings.extension" = 974b799fe72d1c330663142f4705deb6; | |
"com.apple.Trackpad-Settings.extension" = df07588b678c9f076ed8a646ed32cfac; | |
}; | |
"current_state" = { | |
"device.cddvd" = 0; | |
"device.mouse" = 0; | |
"device.touchID" = 1; | |
"device.trackpad" = 1; | |
"powersource.battery" = 1; | |
"user.isguest" = 0; | |
}; | |
}; | |
} | |
``` | |
# Findings | |
## Gestures | |
1. I think there might be a weird bug happening with gestures (as someone else pointed out), I ran `sudo log stream --debug > ~/debug_log` in the background, and happened to see this spammed when I was having the issue: | |
``` | |
2024-03-24 19:56:39.393867+0800 0x621c0 Debug 0x0 300 0 WindowServer: (IOKit) [com.apple.iohid:service] 0x1000005d2: set property:MTGestureConfiguration value:{ | |
Behaviors = ( | |
{ | |
BehaviorID = 5; | |
} | |
); | |
Version = 1; | |
} client:(null) | |
``` | |
# defaults | |
`defaults read`/`defaults export` can export in | |
# Other findings | |
I'm also seeing this, but I think it's another bug somewhere :-). | |
``` | |
2024-03-24 19:56:36.634420 (gui/501 [100082]) <Warning>: failed lookup: name = com.apple.axserver, handle = 1825, flags = 0x3, requestor = universalaccess[1106], error = 3: No such process | |
2024-03-24 19:56:36.634496 (gui/501 [100082]) <Notice>: could not find active service for lookup: pid = 1835, name = com.apple.axserver | |
``` | |
I'll keep this gist updated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment