Describe the bug
I just update to BTT 2.827 and now my window resize actions all crash (with an assertion, see crash log excerpt below).
Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Keyboard; my hotkeys are ctrl-alt-cmd-KEY where KEY ranges from 0 to 9 on the number keypad.
I just tried with another trigger (mouse gesture), and got no crash, so it seems to be tied to the keyboard trigger).
Device information:
- Type of Mac: MBP 2012 with Apple Extended Keyboard
- macOS version: 10.14.4
- BetterTouchTool version: 2.827
Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unable to parse the format string "(belongsToPreset.activated > 0 AND modifierKeys == %@ (keycode == %@ OR (notes != nil AND notes == %@)) AND isTouchpad == 9 AND (triggerOnDown == %@ || triggerOnDown == nil AND %@ == NO))"'
abort() called
terminating with uncaught exception of type NSException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff4530de45 __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff6ff453c6 objc_exception_throw + 48
2 Foundation 0x00007fff474e899f _qfqp2_performParsing + 8291
3 Foundation 0x00007fff474e68aa +[NSPredicate predicateWithFormat:arguments:] + 46
4 Foundation 0x00007fff474e685e +[NSPredicate predicateWithFormat:] + 128
5 BetterTouchTool 0x0000000108c49770 -[BTTOldPTHotKey invokeBTTActionMTDown:triggeredByRepeat:] + 1813
6 BetterTouchTool 0x0000000108c49024 -[BTTOldPTHotKey invokeBTTActionMTDown:] + 32
7 BetterTouchTool 0x0000000108d50cb5 __36-[BTTOldPTHotKeyCenter _hotKeyDown:]_block_invoke + 36
8 libdispatch.dylib 0x00007fff7171c5f8 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff7171d63d _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff7172868d _dispatch_main_queue_callback_4CF + 1135
11 CoreFoundation 0x00007fff452584a6 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
12 CoreFoundation 0x00007fff45257bd3 __CFRunLoopRun + 2300
13 CoreFoundation 0x00007fff45257085 CFRunLoopRunSpecific + 459
14 HIToolbox 0x00007fff445359db RunCurrentEventLoopInMode + 292
15 HIToolbox 0x00007fff4453561d ReceiveNextEventCommon + 355
16 HIToolbox 0x00007fff445354a6 _BlockUntilNextEventMatchingListInModeWithFilter + 64
17 AppKit 0x00007fff428cfffb _DPSNextEvent + 965
18 AppKit 0x00007fff428ced93 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
19 AppKit 0x00007fff428c8eb0 -[NSApplication run] + 699
20 AppKit 0x00007fff428b83f0 NSApplicationMain + 777
21 libdyld.dylib 0x00007fff7176a3d5 start + 1
22 ??? 0x0000000000000001 0x0 + 1