[GH-ISSUE #146] Accessibility API access sometimes doesn't work unless using an alias #118

Closed
opened 2026-05-05 04:57:21 -06:00 by gitea-mirror · 12 comments
Owner

Originally created by @luckman212 on GitHub (Oct 20, 2019).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/146

I just downloaded 0.9.7 on a mac mini running 10.15
when I launch it, I get the dialog requesting Accessibility API access
I removed & re-added Keycastr as suggested but the process just repeats
Anyone else having this problem?

Could not create keyDown event tap!
Please grant KeyCastr access to the Accessibility API.
If KeyCastr already has access, please remove it and add it again.

image

image

Originally created by @luckman212 on GitHub (Oct 20, 2019). Original GitHub issue: https://github.com/keycastr/keycastr/issues/146 I just downloaded 0.9.7 on a mac mini running 10.15 when I launch it, I get the dialog requesting Accessibility API access I removed & re-added Keycastr as suggested but the process just repeats Anyone else having this problem? ``` Could not create keyDown event tap! Please grant KeyCastr access to the Accessibility API. If KeyCastr already has access, please remove it and add it again. ``` ![image](https://user-images.githubusercontent.com/1992842/67163384-26706c00-f33c-11e9-92d5-655be05f25d2.png) ![image](https://user-images.githubusercontent.com/1992842/67163393-4a33b200-f33c-11e9-9d42-36e104b6019d.png)
Author
Owner

@NylonDiamond commented on GitHub (Oct 21, 2019):

Same issue for me as well. I just moved the app to the Documents folder and created an alias to the Applications folder. It works for me for now.

<!-- gh-comment-id:544664539 --> @NylonDiamond commented on GitHub (Oct 21, 2019): Same issue for me as well. I just moved the app to the Documents folder and created an alias to the Applications folder. It works for me for now.
Author
Owner

@transducer commented on GitHub (Oct 22, 2019):

The suggestion of @NylonDiamond works. But why? :)

<!-- gh-comment-id:545147259 --> @transducer commented on GitHub (Oct 22, 2019): The suggestion of @NylonDiamond works. But why? :)
Author
Owner

@akitchen commented on GitHub (Oct 24, 2019):

Unsure... It's expected to need to re-grant accessibility API permissions after an update or when the app settings change. This needs to be done by removing the app from the list and re-adding it, not simply re-checking the box.

I haven't been able to test on 10.15 to see if things are significantly different in a way we need to work around. I do know that notarization is increasingly important in macOS Catalina and beyond.

Managing security permissions is an area of KeyCastr I'm keep to improve, and I've been working on code signing and notarization to see if it makes any difference especially for Catalina. But since I'm not able to upgrade yet, I'm limited in being able to test it.

Closing this for now. Next release should be notarized and it will be good to know whether it helps.

<!-- gh-comment-id:546073953 --> @akitchen commented on GitHub (Oct 24, 2019): Unsure... It's expected to need to re-grant accessibility API permissions after an update or when the app settings change. This needs to be done by removing the app from the list and re-adding it, not simply re-checking the box. I haven't been able to test on 10.15 to see if things are significantly different in a way we need to work around. I do know that notarization is increasingly important in macOS Catalina and beyond. Managing security permissions is an area of KeyCastr I'm keep to improve, and I've been working on code signing and notarization to see if it makes any difference especially for Catalina. But since I'm not able to upgrade yet, I'm limited in being able to test it. Closing this for now. Next release should be notarized and it will be good to know whether it helps.
Author
Owner

@akitchen commented on GitHub (Oct 27, 2019):

I got the app code signed and notarized, and I still see the same issue. And strangely, using an alias seems to work. I'm still on 10.14, so it's not specific to Catalina.

<!-- gh-comment-id:546660334 --> @akitchen commented on GitHub (Oct 27, 2019): I got the app code signed and notarized, and I still see the same issue. And strangely, using an alias seems to work. I'm still on 10.14, so it's not specific to Catalina.
Author
Owner

@diegohaz commented on GitHub (Oct 27, 2019):

I'm also having this issue (weirdly got here exactly when @akitchen posted an update lol). Tried creating an alias, but it didn't work for me. Probably I did something wrong.

<!-- gh-comment-id:546660463 --> @diegohaz commented on GitHub (Oct 27, 2019): I'm also having this issue (weirdly got here exactly when @akitchen posted an update lol). Tried creating an alias, but it didn't work for me. Probably I did something wrong.
Author
Owner

@akitchen commented on GitHub (Oct 27, 2019):

This problem seemed to fix itself for me after a while, possibly after a restart. I can now use KeyCastr without an alias from its normal place in /Applications

<!-- gh-comment-id:546741501 --> @akitchen commented on GitHub (Oct 27, 2019): This problem seemed to fix itself for me after a while, possibly after a restart. I can now use KeyCastr without an alias from its normal place in /Applications
Author
Owner

@diegohaz commented on GitHub (Oct 27, 2019):

It worked for me after enabling Input Monitoring:

image

<!-- gh-comment-id:546745693 --> @diegohaz commented on GitHub (Oct 27, 2019): It worked for me after enabling Input Monitoring: ![image](https://user-images.githubusercontent.com/3068563/67643517-001f7300-f8de-11e9-9dff-34d768f1a397.png)
Author
Owner

@WShiBin commented on GitHub (Nov 1, 2019):

@diegohaz thx

<!-- gh-comment-id:548646086 --> @WShiBin commented on GitHub (Nov 1, 2019): @diegohaz thx
Author
Owner

@gziolo commented on GitHub (Nov 8, 2019):

@diegohaz, thanks it solved my issue as well 👍

<!-- gh-comment-id:551585477 --> @gziolo commented on GitHub (Nov 8, 2019): @diegohaz, thanks it solved my issue as well 👍
Author
Owner

@birkhofflee commented on GitHub (Nov 14, 2019):

Rebooting my macOS solved the issue

<!-- gh-comment-id:553784800 --> @birkhofflee commented on GitHub (Nov 14, 2019): Rebooting my macOS solved the issue
Author
Owner

@mfekadu commented on GitHub (Feb 16, 2020):

@diegohaz thanks for the tip! It really helped! I hope the README update will help even more people 😄

<!-- gh-comment-id:586740869 --> @mfekadu commented on GitHub (Feb 16, 2020): @diegohaz thanks for the tip! It really helped! I hope the README update will help even more people 😄
Author
Owner

@elia commented on GitHub (Feb 17, 2020):

Should be fixed by #158, kudos to @mfekadu for putting together the instructions 👍

<!-- gh-comment-id:586772161 --> @elia commented on GitHub (Feb 17, 2020): Should be fixed by #158, kudos to @mfekadu for putting together the instructions 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#118
No description provided.