Skip to content
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

Whole system hangs when Accessibility permission is removed while Unshaky is running #160

Closed
angelsanzn opened this issue May 20, 2020 · 6 comments

Comments

@angelsanzn
Copy link

angelsanzn commented May 20, 2020

Describe the bug
The whole system mostly hangs when Accessibility permission is removed while Unshaky is running.

To Reproduce
Steps to reproduce the behavior:

  1. Launch Unshaky.
  2. Go to Security & Privacy settings, and disable Accessibility permission for Unshaky.
  3. Attempt to switch windows (Cmd+Tab), show Mission Control, launch Spotlight, etc.
  4. None of that works for a while. The system does not freeze completely (e.g. music keeps playing in the background) but it takes a few seconds to respond, then mostly hangs again.

Expected behavior
It should not hang at all. Perhaps Unshaky should warn that it won't work without Accessibility permission, although it should not need such a strong permission, see #157.

Desktop (please complete the following information):

  • macOS Catalina 10.15.4.
@setanarut
Copy link
Contributor

setanarut commented Jul 17, 2020

  • macOS Catalina 10.15.5

I tried and the computer froze for 10 seconds.

@aahung
Copy link
Owner

aahung commented Aug 5, 2020

Input monitoring cannot replace the Accessibility permission for now, see comment for detail.

@aahung aahung closed this as completed Aug 5, 2020
@angelsanzn
Copy link
Author

Understood. Not sure that tackles the computer hanging issue though.

@aahung
Copy link
Owner

aahung commented Aug 5, 2020

Is it a valid issue? Why would you want to remove the accessibility permission while using Unshaky?

@angelsanzn
Copy link
Author

To test if it actually needs it when you aren't sure about that.

Admittedly, it's not part of the main use case, but the effect it causes is oversized and unexpected.

@setanarut
Copy link
Contributor

Is it a valid issue? Why would you want to remove the accessibility permission while using Unshaky?

Ad Hominem
440px-Graham's_Hierarchy_of_Disagreement svg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants