Comments (12)
Ok, I think I found the issue. Seems that the commit 5aca15
broke this (the removal of the call to CFRelease(item)
for the M1 build).
I've opened a PR for this, to instead call IOObjectRelease(item)
: #54
from middleclick-sonoma.
Sorry, I forgot the following:
george@iMac-de-George ~ % brew info middleclick
middleclick: 2.5
https://github.com/artginzburg/MiddleClick-BigSur
/opt/homebrew/Caskroom/middleclick/2.5 (125B)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/middleclick.rb
==> Name
MiddleClick
==> Description
Utility to extend trackpad functionality
==> Artifacts
MiddleClick.app (App)
==> Analytics
install: 476 (30 days), 771 (90 days), 1,760 (365 days)
george@iMac-de-George ~ %
from middleclick-sonoma.
I have the same problem after wake up.
from middleclick-sonoma.
After conecting an Apple Trackpad I also needed to restart MiddleClick to make it work with the trackpad.
from middleclick-sonoma.
When the trackpad disconnects by itself (because of course it does, it's wireless for some reason and wireless is a synonym for unreliable) and then reconnects, I also have to restart MiddleClick to make it work again, which is annoying.
from middleclick-sonoma.
You should try out the new pre-release. I haven't tested it with wireless devices, but it's a much more stable build. Please continue here if the issue persists.
from middleclick-sonoma.
This issue does persist in the pre-release :(
If you need any help debugging, please ask.
from middleclick-sonoma.
I'm having a similar problem with versions 2.5
, 2.5.0.1
and the prerelease 2.6
(can't test any other versions since I'm on an M1 machine - running macOS 12.6 Monterey):
When disconnecting / reconnecting a Magic Mouse (eg. just turn the Magic Mouse off and on again - no sleep/wake cycle), MiddleClick no longer registers middle clicks and the app needs to be restarted.
If I understand correctly, the relevant code is this, which appears to call the multitouchDeviceAddedCallback
function - for some reason this is not firing:
I can see this because on the command line, the Restarting app functionality...
does not show up when I turn the Magic Mouse off and on:
$ /Applications/MiddleClick.app/Contents/MacOS/MiddleClick
2022-10-09 14:37:27.258 MiddleClick[63555:8582952] Starting all listeners...
*** Recognized (0xb0) family*** (60 cols X 2 rows)
*** Recognized (0x6b) family*** (26 cols X 18 rows)
*** Recognized (0x70) family*** (10 cols X 15 rows)
...nothing else shows up here...
If it would be better that I open a new issue for the problem of reconnecting, happy to do so!
from middleclick-sonoma.
Workaround
To quickly restart MiddleClick, use macOS Shortcuts: create a shortcut that quits MiddleClick and opens it again:
Then right click on the shortcut and select "Add to Dock", for easy access:
from middleclick-sonoma.
@artginzburg I guess you haven't been able to reproduce the problem I described above?
Do you have an idea why it could be happening?
from middleclick-sonoma.
Thank you, @karlhorky !
I have tested your patch and it works for me.
Hopefully it will be included with the next release...
from middleclick-sonoma.
Great, looks like my patch is included in 2.6.1 (already available in Homebrew), thanks @artginzburg for the release and Homebrew bump!
from middleclick-sonoma.
Related Issues (20)
- Wrong gestures using huge trackpad on macbook pro 16 (possible solution)
- Trackpad becomes unresponsive after revoking Accessibility permission HOT 7
- Migrate to Swift HOT 2
- Hide from menu bar HOT 1
- MacBook "brew ... --no-quarantine" not sufficient perms
- Trying to set 2 finger click to emulate mouse-wheel click breaks normal single finger click
- 3 Finger tap not working in Sonoma Beta 2 HOT 1
- Misbehaving in multiuser environment
- Add ability to middle-click and drag via a modifier key. Used in many CAD applications and games
- Initiating a scroll becomes laggy after the app has been running for a long time HOT 11
- Middle Tap crashes MacMouseFix HOT 1
- App will not open
- Rename to MiddleClick-Sonoma? HOT 2
- Three-finger click to open a new Finder window/tab
- Should a new release be cut? HOT 4
- Distinace between fingers HOT 2
- Disable paste selected-text in terminal
- maybe a dumb question but the app doesn't let me to configure it HOT 3
- When pointer is positioned over a character, single-click doesn't work (only when Middle-click is running) HOT 1
- Click or Tap with 3 Fingers is unavailable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from middleclick-sonoma.