Color Picker Locking Up BTT

Note: Before bug reporting, please make sure you have tried the latest (alpha) version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS from the "User Diagnostic Reports" section.

Describe the bug
When the user is prompted for a color from the color picker via "choose color" in AppleScript, BTT looses much of its functionality (menu items are greyed out, rubber-banding in TouchBar does not work) and does not bring up the color picker. There is no crash, but to restore functionality, BTT must be restarted from Activity Monitor. The script works fine in the Script Editor, and when BTT has its configuration window open in the background. The script can only continue to run (unfreezing BTT) when the configurator is opened via Spotlight.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
MacBook Pro TouchBar


Screen Shot 2019-12-14 at 10.58.35 PM

Device information:

  • Type of Mac: MacBook Pro
  • macOS version: 10.15.2
  • BetterTouchTool version: 3.214 (1391)

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):
Opening BTT once the script has started via spotlight seems to let the script resume, letting BTT recover.

how are you triggering the script in BTT? For scripts that show UI it is important to use the blocking apple script action.

I tried using async, blocking, and saving the script to a file and having btt run that. All seemed to have the same behavior.