Left-click followed quickly by right-click on a location with a context menu triggers "Doubleclick Window Titlebar"

Description of the Bug

  1. Add for "All Apps" the trigger from "Named & Other Triggers" called "Doubleclick Window Titlebar".
  2. Assign to that trigger for example the action called "Minimize Window Below Cursor" (it doesn't really matter which action you assign to it, but this one makes it easy to see what's going on).
  3. Find an area in any App such that right-clicking on it produces some context menu - for example: a file in Finder, any text or an empty white area in a TextEdit window, any note or a folder in the Notes app, etc.
  4. Using either a mouse or a trackpad (but using a mouse it is easier to do), left-click and quickly after that right-click on that area. And you'll see that the action we created ("Minimize Window Below Cursor") gets executed - the window becomes minimized (even though the mouse pointer was not over the titlebar nor did we double-click). You'll also see that while the main window was minimized, the small context menu window stayed behind and is now visible.

Affected Input Device:
Magic Trackpad 2, an old wired Logitech mouse, and I would assume any other mouse or trackpad as well.

Device Information:

  • Type of Mac: iMac, Late 2013
  • macOS version: 10.15.4 (19E266)
  • BetterTouchTool version: 3.346 (1554)