Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is the launchOrFocus so slow? #2126

Closed
zgqq opened this issue Jul 9, 2019 · 1 comment

Comments

@zgqq
Copy link

commented Jul 9, 2019

It takes 20+ milliseconds to focus some apps.

@cmsj

This comment has been minimized.

Copy link
Member

commented Aug 15, 2019

Do you mean 20 seconds? 20ms is a pretty short amount of time!

Either way, I'm afraid there's probably nothing we can do about this - all launchOrFocus() does is tell the OS to launch the app name specified. Perhaps your Spotlight database needs rebuilding?

@cmsj cmsj closed this Aug 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.