-
Notifications
You must be signed in to change notification settings - Fork 56
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
Does not work on macOS Mojave #32
Comments
I don't have Mojave yet. You can try:
|
I think I did try the first one, but not the second one yet. Will try it later and report back! |
Same issue when compiled with Xcode 10 beta. Also tried |
Thank you for investigating! For now, it looks like a bug in Mojave. |
solved |
Awesome, that worked! And there's enough time to put that information into the app as a popup or something. |
Great! I will look into adding this information in an alert popup. |
Thank you both for investigating! Version 0.4.1 asks for Accessibility permissions on launch. |
After installing macOS Mojave on my second machine, I noticed that SlowQuitApps stopped working. The overlay would show up shortly but then immediately stop. I had this happen on High Sierra occasionally as well, but restarting SlowQuitApps usually fixed it. On Mojave, the error occurs every time.
I checked out the repository and tried running it locally, and with a few NSLog statements I figured it where it fails. In
SQACmdQStream.m
on line 54,CGEventSourceKeyState(kCGEventSourceStateHIDSystemState, kVK_ANSI_Q);
returns False even though the Q key is pressed. Apparently, it still recognized the first keypress of CMD + Q, but just not that the Q key is still pressed. If I change line 43 in the same file toconst BOOL pressed = cmdPressed;
, the app works again (but just doesn't recognize if you stop holding Q which is annoying).Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: