-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trackpad becomes unresponsive after revoking Accessibility permission #63
Comments
Yep, that’s been a long-standing issue. There is a simple way to prevent that — checking Accessibility permissions every second or so and stopping the listeners if the accessibility permission gets lost (the same way the app works after launch, just boolean-inverted). I’m not sure if this is the best solution. Obviously, for maintainability of this app it would be better to use an already existing library implementing Multitouch. I majorly dislike the fact that the multitouch logic and the middle click logic is in the same file. |
In Touch-Tab I've switched from |
This The only thing I noticed is that with that option, on Ventura, MiddleClick starts asking for Another strange thing is that sometimes when I granted the |
tccutil
Have you tried using AXIsProcessTrustedWithOptions? It allows to prompt a user to grant |
Just tried that — MiddleClick now asks for I also like that running AXIsProcessTrustedWithOptions on an interval makes it essentially a persistent prompt that cannot be closed until the app is closed. Might seem unintended for someone, but actually it's useful because unlikely the user will be willing to keep the app open without giving it the permission. |
- Use `AXIsProcessTrustedWithOptions` instead of `AXIsProcessTrusted` - Use event tap option `.listenOnly` instead of `.default` closes #63 Co-Authored-By: Ilya Rodionov <[email protected]>
There is a problem with this In the end, I got it working by granting the "Input Monitoring" permission additional to the "Accessibility" permission. I guess that's why the app was initially asking for it until we suppressed it with AXIsProcessTrustedWithOptions. |
I believe (may be I'm wrong about that) that if an app has Could you try not to start any input monitoring until |
Steps to reproduce:
MiddleClick
.MiddleClick
access toAccessibility
inSystem Settings > Privacy & Security
.Accessibility
permission. Or runtccutil reset Accessibility
in terminal to resetAccessibility
settings.Expected result:
MiddleClick
stops working, other things work.Actual result:
Trackpad becomes unresponsive and it's not possible to click with it (some gestures work though).
MiddleClick 2.6.1
macOS 13.2.1
P.S.: killing
MiddleClick
or just logout(Cmd-Shift-Q) helps.The text was updated successfully, but these errors were encountered: