diff --git a/mac/Keyman4MacIM/Keyman4MacIM/KMInputMethodAppDelegate.m b/mac/Keyman4MacIM/Keyman4MacIM/KMInputMethodAppDelegate.m index 573fc31d25..d53e859db8 100644 --- a/mac/Keyman4MacIM/Keyman4MacIM/KMInputMethodAppDelegate.m +++ b/mac/Keyman4MacIM/Keyman4MacIM/KMInputMethodAppDelegate.m @@ -145,7 +145,7 @@ id _lastServerWithOSKShowing = nil; // options.debug = @YES; }]; - [SentrySDK captureMessage:@"Starting Keyman [test message]"]; + // [SentrySDK captureMessage:@"Starting Keyman [test message]"]; } #ifdef USE_ALERT_SHOW_HELP_TO_FORCE_EASTER_EGG_CRASH_FROM_ENGINE @@ -271,6 +271,8 @@ CGEventRef eventTapFunction(CGEventTapProxy proxy, CGEventType type, CGEventRef switch (type) { case kCGEventFlagsChanged: + if (appDelegate.debugMode) + NSLog(@"System Event: flags changed: %x", (int) sysEvent.modifierFlags); appDelegate.currentModifierFlags = sysEvent.modifierFlags; if (appDelegate.currentModifierFlags & NSEventModifierFlagCommand) { appDelegate.contextChangingEventDetected = YES; @@ -1064,7 +1066,7 @@ CGEventRef eventTapFunction(CGEventTapProxy proxy, CGEventType type, CGEventRef - (void)downloadKeyboardFromKeyboardId:(NSString *)keyboardId { KeymanVersionInfo keymanVersionInfo = [self versionInfo]; - NSString* url = [NSURL URLWithString:[NSString stringWithFormat:@"https://%@/go/package/download/%@?platform=macos&tier=%@", + NSURL* url = [NSURL URLWithString:[NSString stringWithFormat:@"https://%@/go/package/download/%@?platform=macos&tier=%@", keymanVersionInfo.keymanCom, keyboardId, keymanVersionInfo.tier]]; //&bcp47=%@&update=0 _downloadFilename = [NSString stringWithFormat:@"%@.kmp", keyboardId]; [self downloadKeyboardFromURL:url];