cerebroapp / cerebro-mac-apps

📦 Plugin for searching and launching applications on MacOS with Cerebro app
https://cerebroapp.com
8 stars 1 forks source link

Some launched applications open behind focused window #4

Open bpmcl opened 6 years ago

bpmcl commented 6 years ago

When using Cerebro and the cerebro-mac-apps plugin, some built-in MacOS applications launch behind the previously focused window. This behaviour happens consistently with some applications, and never with others. Performing the same action in Spotlight does not have this effect.

Here is an incomplete list of applications that this happens with:

KELiON commented 6 years ago

Just realized that I also have this problem with Activity Monitor 🤔 I'll try to find solution, thanks @bpmcl!

KELiON commented 6 years ago

We use shell.openExternal from electron. It has boolean activate flag, but it is true by default, so all apps should go to foreground. Weird