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

Incompatibility problem (strange anomaly) between Rectangle Pro and BetterTouchTool

Open au-ganymede opened this issue 2 years ago • 3 comments

🪟 In Rectangle Pro, I have configured the Window Throw function, which is triggered by pressing and holding the middle mouse button, to move a specific window on the screen depending on the direction in which the cursor is moved.

🫤 Unfortunately, I've found that if I click the middle mouse button once, for example to close a browser tab or open a link in a new tab, the action is not registered and nothing really happens until I try to move the cursor in any direction (the middle mouse button is already released). Then the cursor starts to oscillate, and even sweeping movements of the mouse are unable to move it more than a few dozen pixels.

🐭 It is only by pressing and holding the middle mouse button again and moving the mouse that the cursor is 'freed'. This happens throughout the system, not just in the browser.

🥷 The above problem disappears when I disable BetterTouchTool or Rectangle Pro. In BTT I have disabled all functionality related to moving windows, and the shortcuts themselves do not relate to the middle mouse button. Furthermore, this phenomenon also occurs when I remove all keyboard shortcuts from BTT.

🎬 The video below illustrates the exact situation described.

❓Has anyone encountered this issue? Or does anyone know of a possible solution to this problem?

Crosspost to the BTT forum: https://community.folivora.ai/t/incompatibility-problem-strange-anomaly-between-bettertouchtool-and-rectangle-pro/31889


Specs:

  • macOS Ventura 13.4
  • MBP M1 Pro 16"
  • Rectangle Pro 3.0.2 (143)
  • BetterTouchTool via Setapp 4.068 | 2283

https://github.com/rxhanson/RectanglePro-Community/assets/115064696/15a8da87-b6b3-45f5-8bfe-4723b4cd87ff

au-ganymede avatar Jun 16 '23 19:06 au-ganymede

Thanks for the detailed report. The macOS event stream can sometimes behave in strange ways with multiple apps listening to it. It's likely that even though you have disabled specific functionality in BTT, the combination of having these two apps listening to and potentially modifying the events on the stream is causing this issue. For some apps, I don't mind digging in further to see if an issue like this can be resolved Rectangle Pro side. For BTT, though, I don't have plans to address compatibility issues.

rxhanson avatar Jun 16 '23 19:06 rxhanson

Thanks for the quick reply, much appreciated.

It's unfortunate that you won't be addressing this issue, but I understand. Although that last part sounded ominous (?), is BTT some kind of persona non grata?

Anyway, in a "flash of genius" I just came up with a partial solution to the above problem. In Rectangle Pro's Window Throw settings page, you need to remove the assigned mouse button in the "Mouse" section and add a modifier in the "Modifier Keys" field.

Although this means that it is no longer possible to arrange the windows with one hand (using only the mouse), it still works well and doesn't interfere with BTT (single-clicking the middle mouse button works as intended).

obraz

au-ganymede avatar Jun 16 '23 20:06 au-ganymede

Thanks for the follow up. Glad you are at least good with a workaround. Nothing against BTT, but it operates in a way that typically doesn't cooperate with other applications that directly use events, and troubleshooting that and trying to build in a workaround specifically for BTT isn't the best use of time.

rxhanson avatar Jun 16 '23 21:06 rxhanson