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
Closed

Why is the launchOrFocus so slow? #2126

zgqq opened this issue Jul 9, 2019 · 1 comment

Comments

@zgqq
Copy link

zgqq commented Jul 9, 2019

It takes 20+ milliseconds to focus some apps.

@cmsj
Copy link
Member

cmsj 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 as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants