Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
`shell.openItem` should activate the opened app #10477
For example, if I ask it to open a path to a directory, it should open it in Finder and focus the Finder window.
It opens the Finder window in the background and my app window is still focused.
How to reproduce
Focusing the opened app is expected behavior on macOS and should at least be an option.
referenced this issue
Sep 9, 2017
Afaik this is because our implementation of
If you want to open it with activation I believe you can just pass the file path to
The first mentioned issue there is fixed in Chromium. They're using
Yes, that's my workaround, but it's ugly as it requires converting the path to a file URL.