From c7d85d6daa1c49c909843a78d698f4283efc391f Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Mon, 1 Jul 2019 13:27:18 +0200 Subject: [PATCH] Added log message when no window title can be determined --- MacPass/MPAutotypeDaemon.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MacPass/MPAutotypeDaemon.m b/MacPass/MPAutotypeDaemon.m index 8f84b017..1305c477 100644 --- a/MacPass/MPAutotypeDaemon.m +++ b/MacPass/MPAutotypeDaemon.m @@ -393,6 +393,10 @@ static MPAutotypeDaemon *_sharedInstance; } } } + if(currentWindows.count > 0 && infoDict.count == 0) { + // show some information about not being able to determine any windows + NSLog(@"Unable to retrieve any window names. If you encounter this issue you might be running 10.15 and MacPass has no permission for screen recording."); + } return infoDict; }