RectanglePro-Community icon indicating copy to clipboard operation
RectanglePro-Community copied to clipboard

Trackpad gesture to throw window conflicts with Craft app

Open ats opened this issue 2 years ago • 3 comments

I use Craft (https://craft.do), and I think that enabling Rectangle's multitouch trackpad gesture to trigger mouse throw (I'm using three down + lift two and it's so great!) is preventing or slowing click recognition in that app. Selecting documents and navigating in menus in Craft are either delayed/slow, or require a double-click. It's hard to identify the behavior exactly because it seems inconsistent or slowed so much that it's hard to pin down.

Disabling mouse throw returns Craft to normally behaving, and using keyboard navigation in Craft is unaffected.

I think Craft is built with Catalyst. Maybe that has some conflicts with Rectangle's behavior? Thanks!

ats avatar Jul 04 '22 14:07 ats

I've noticed this behaviour too. As long as one of the trackpad gesture options is selected, catalyst apps or iOS apps have the unresponsive clicks. It's happened in Messages, Podcasts, Infuse, and Plex for iPad.

Curiously, I used to be able to reproduce this by making (any) "rest x touches and remove all but one" gesture in Multitouch, but now I can't. The only thing that's changed recently is I went from an M1 MBA to a 14" MBP.

sudonyms avatar Jul 04 '22 22:07 sudonyms

Thanks for reporting!

This is kind of an involved topic, and it boils down to a macOS issue where listening to touch gesture events in macOS can negatively impact other applications. From the perspective of Rectangle Pro (or Multitouch), I'm not aware of a way around this. As a workaround, I think the best I can do is provide a more granular way to tell the app to stop listening to touch events when certain apps are frontmost. I'll add this to my backlog and shoot for adding it into the next release. Ideally, I will be able to find a better way to fix it from my apps at some point.

As an aside, this appears to be a fairly uncommon issue, but it is actually the reason why I built Hookshot (now Rectangle Pro), which was originally centered around only the key + cursor movement gestures. After building Multitouch, I realized that the gesture API was a lot less robust than I had expected, and even though it works perfectly for the vast majority of users, there is always a nagging feeling that not everybody has the same perfect experience. The key + cursor gestures on the other hand behaved properly for everyone since the cursor movement API is robust. Eventually, I came up with the "rest + remove all but one" gestures and was compelled to add them into Rectangle Pro because they fit so nicely, despite the potential issues such as this.

rxhanson avatar Jul 05 '22 02:07 rxhanson

I appreciate this better understanding of the complexity of this! I've quickly sort of fallen for the trackpad-only gestures, but will focus more on getting my key + cursor gestures really wired, for now. Thanks for the great application, Ryan.

ats avatar Jul 05 '22 03:07 ats