SharpHook icon indicating copy to clipboard operation
SharpHook copied to clipboard

Press/drag fails for some macOS apps

Open GuruGurra opened this issue 6 months ago • 13 comments

Some macOS apps seem to monitor mouse events in some way that SharpHook doesn't cover. Often, it is click-drag operations that don't work.

Bitwig is such an example. If I use ShatrpHook to position the mouse cursor over a Mute button in the app and press the left mouse button, it works as expected.

But if I move the mouse cursor to a volume fader, click and hold the left mouse button and move the mouse cursor, it does not work. It should "grab" the volume fader and move it, which it does when I do it manually but not when using SharpHook. It registers the left mouse button press (evident since the object is being selected), but nothing else happens when the mouse cursor moves; the volume fader handle isn't brought along with it. The app behaves as if I press the mouse button and then keep the mouse stationary.

What could cause such a behavior?

GuruGurra avatar Aug 03 '24 20:08 GuruGurra