-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Enable Mac Mouse Fix not working [bug] #117
Comments
Hey @maddn, thanks for reaching out! Your bug has been occurring for a few people, but I can't seem to reproduce it, unfortunately.
Let me know if that helps when you have time, because that'll really help fix the issue for everyone. |
Hi, unfortunately that didn't work. Still have the same problem after running that command and restarting the app. I'm happy to try any other suggestions you have though! Thanks! |
Oh that's unfortunate, If you're interested and have time, I could describe to you how things work so you could do your own investigations, but that would probably be quite time consuming and a little overwhelming if you don't have experience debugging apps, yet. I'll hopefully have the opportunity to do some debugging on my dads computer soon. He had that problem, too, when he installed the 2.0.0 Beta a few weeks ago. Thanks again for reaching out, and for your willingness to help out! Any info or help fixing this gnarly bug is appreciated. |
Hi, I'm happy to do some investigation, but I don't know where to start really, so if you can point me in the right direction that would be great. Thanks! |
Alright, cool! I'll try to give you and overview. First off some basic concepts / terminology
My thoughts about the issue and how I arrived at themI put all my assumptions that I'm not sure about, and that we would be useful to confirm or disprove in a
All that the Starting from I think 2.0.0 Beta 10, once the In previous versions, the So because in your testing, you couldn't check the
If that's true, and you were running Beta 10, then this leads me to think that:
I also think that
And if that's true, and also because the issue seems to always first occur after installing 2.0.0, it's probably best to analyze 2.0.0 first. How to analyze what's going wrongThe easiest thing you could do to find out more about what is going on, is probably by having a look at the Console:
The next thing you could do is debugging Mac Mouse Fix Helper using Xcode
So now you can set breakpoints and properly debug the app. First thing you want to do is probably add an exception breakpoint at If you want more info on how to debug the If the helper turns out to work just fine, when you run the "Helper" build scheme, then, probably, the issue is not in the helper itself, but in the mechanism that we use to start the helper after the user clicks the I hope this helps - thank you for helping! :) - and if you're overwhelmed by this or don't have time to get into it, then I totally understand that of course. |
Hi, thanks for all the detailed steps. It will take a little while for me to download and setup Xcode. You're right I was using beta 10, not beta 9. There are no entries in the console log when I filter for "Mac Mouse Fix Helper", but there are entries for "Mac Mouse Fix". I get the following error when running launchctl command:
I also noticed there is no folder in ~/Library/LaunchAgents for the app, so maybe it didn't install properly? |
Hey thanks for getting back! That's really useful information. So the helper doesn't seem to start in the first place. I'll detail the mechanism for starting the helper here so we're on the same page: How enabling the helper really works What the
What the When you execute It makes sense that it's not loaded since the How I interpret your findings So that seems to be where things are going wrong - when creating the What to debug Knowing that, the most interesting parts of the program to debug are probably
How to Analyze the problem without a debugger Alternatively, it would probably also be really insightful, if you set up and loaded the
You did it! Now you can use the
Then you could take a look at these things to get a better idea of what's going on:
|
Hi, Thanks for the help with this. I found the problem was that my LaunchAgents folder was owned by root. I don't know how this happened. But once I changed the ownership back to my user, it works okay now. What was strange was that there was no error in the log to say the app didn't have permission to create the plist file. Looking at the code, I'd expect to see the error:
Let me know if you want me to try anything else. |
I’m glad that’s sorted out. Thanks for your help! |
Hi, i have the same problem. log is
My |
Oh, by the way, app version 2.2.0 |
Hey @RandyZ! Something you could try is to open Terminal and run the command The command |
I restart my mac. Works. Maybe the helper service didn't start properly. |
Great! 👍 |
Description
In the latest beta version (2.0.0 Beta 9), I'm unable to check the Enable Mac Mouse Fix button.
In the release version (1.0.4), I can check the Enable Mac Mouse Fix button but it doesn't do anything, and the next time I open the app it's unchecked again.
Context
Mac Mouse Fix Version: 2.0.0 Beta 9
macOS Version: 11.4
Console Logs
I see this error in the console log:
No legacy launchd plist file found at: /Users/mmaddern/Library/LaunchAgents/com.nuebling.mousefix.helper.plist
The text was updated successfully, but these errors were encountered: