artginzburg / MiddleClick-Sonoma

 "Wheel click" with three-finger click/tap for Trackpad and Magic Mouse.
GNU General Public License v3.0
1.47k stars 85 forks source link

Flickering #29

Closed Reginold-P closed 1 year ago

Reginold-P commented 2 years ago

I installed it using brew and when I started it, it shows the icon on the menu bar. When I click or tab my three fingers, it not working and I'm seeing the icon flickering on the menubar I'm on AppleSilicon and running the v2.5

dsalavei commented 2 years ago

It's the same for me, running 2.5 on MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports) Intel-based

jnooree commented 2 years ago

Same for me on M1 iMac (v2.5). v2.4.8.1 works properly.

Wiredframe commented 2 years ago

Same for me, went back to the previous non M1 version for now. ☺️

sky-andremartins commented 2 years ago

Fixed it on Mac M1 Big Sur 11.6 by:

  1. Remove MiddleClick from Security & Privacy > Privacy > Accessibility
  2. Run
    killall MiddleClick
    brew reinstall --cask --no-quarantine middleclick
  3. And then add it again to Security & Privacy > Privacy > Accessibility
artginzburg commented 1 year ago

The flickering happens because the app doesn't have Accessibility permission. It's waiting for the user to grant the permission, and restarts every 5 seconds to get to work as soon as the permission is granted.

After next release, the menu bar icon will check for Accessibility permission and appear disabled if it's not granted. The app menu will also have some helpful items related to permission status.

When #46 is fully tested, the menu bar icon will not flicker at all.

artginzburg commented 1 year ago

Fixed in the new release.