rxhanson / Middle-Community

Discussion, Bugs, and Localization for the Middle app (for macOS middle clicking)
https://middleclick.app
21 stars 40 forks source link

The app is not functioning after accessibility permissions are provided #61

Open rxhanson opened 1 year ago

rxhanson commented 1 year ago

From #60

Not working on imac 24 with m1.... With my last imac with intel all ok... After give the permissions the app close and no icon on topbar and no functionality at all I'm on ventura

First time i open app , it ask to add pemissions, after that, nothing happens. I click app icon and nothing, no crash notification, nothing. If i try to uninstall , i see a message tha app is still running and can't be uninstalled. To uninstall app I have to go to accessibility permission and turn off. In my macbook intel cpu it's working with no issues

rxhanson commented 1 year ago

The app works identically, regardless of m1 or Intel, so I suspect there's something different about your setup that is causing an issue here. The accessibility permission toggle doesn't have any bearing on whether or not an app can be uninstalled, so if you were to successfully uninstall it then it would have to be quit.

Which version of Middle are you trying to run? 1.8?

Let's troubleshoot it from a known starting point, and if you don't mind, a screen recording would definitely help:

  1. Make sure the app is not running. Quit it from Activity Monitor if necessary.
  2. In System Settings -> Privacy & Security -> Accessibility, disable then remove Middle
  3. Launch Middle again. You should get the prompt again to enable in accessibility. Enable it, and the preferences window should get displayed.
sopedro commented 1 year ago

Hi, I create a video from the beggining installing the app, after that i can't do anything with the app, in video I opened fusion to test and middle button not working here is the video https://drive.google.com/file/d/16SMEMa-R-7tY7Sz2if2wXdYLWPbJNA9y/view?usp=sharing

rxhanson commented 1 year ago

Thanks for the video! I'm not 100% sure what would cause this, so it might take a couple of tries for me to get a build that fixes it. I'll keep you posted when I have something to try out and if I need further logs.

In the meantime, it might be helpful to know what is already logged. Check the following places: ~/Library/Containers/com.knollsoft.MiddleLauncher/Data/Library/Application Support/Middle/middleHelper.log ~/Library/Application Support/Middle/middle.log

rxhanson commented 1 year ago

One more thing: Did you see any crash reports for Middle in the Console app?

sopedro commented 1 year ago

Hi, no crash reports in console, this imac was bought yesterday. Here is the output of the files you ask.

middleHelper.log

11:14:30.559 INFO AppDelegate.initializeLogging():39 - build 10 11:14:30.562 INFO AppDelegate.applicationDidFinishLaunching():46 - Pong sent 11:14:30.563 INFO AppDelegate.applicationDidFinishLaunching():52 - Subscribed to terminate notification 11:14:30.564 INFO AppDelegate.applicationDidFinishLaunching():55 - Middle helper initialized with args: ["/Applications/Middle.app/Contents/Library/LoginItems/MiddleLauncher.app/Contents/MacOS/MiddleLauncher"] 11:14:30.564 INFO AppDelegate.applicationDidFinishLaunching():89 - Middle already running, closing helper

middle.log

11:14:30.045 INFO AppDelegate.initializeLogging():75 - build 87

sopedro commented 1 year ago

this is the log files that I have in var/log .

CoreDuet
dm
shutdown_monitor.log DiagnosticMessages
fsck_apfs.log
system.log apache2
fsck_apfs_error.log system.log.0.gz asl
fsck_hfs.log
uucp com.apple.wifivelocity
install.log
wifi.log com.apple.xpc.launchd
mDNSResponder
wifi.log.0.bz2 cups
powermanagement daily.out
ppp

Thank you

sopedro commented 1 year ago

Hi, just to let you know... I tried multitouch app from you and it works....

sopedro commented 1 year ago

Hi again... I found the issue, it's working now... The problem is that I migrated all the data from old imac to new one, so, the license referes to old imac. I just deleted folder in ~\Library\Application Support\Middle and the apps asks to license again, não all works well.

Thank you for the help

rxhanson commented 1 year ago

Whew, thanks for figuring that out and posting back. I was just getting ready to send you a build with increased logging; this just saved a lot of our time.