macos' open command gives focus normally but doesn't now
Bug report
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.4.22
- OS version: macos 14.3 ; apple m1 max chip
- Attach
[com.googlecode.iterm2.plist](/uploads/b95bccf3494f2830777c4b92ddf4e173/com.googlecode.iterm2.plist)
here (drag-drop from finder into this window) - Attach a debug log, if possible.
- Attach a screen capture video if it would make the reproduction steps clearer.
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem
- execute "open -a firefox" at the bash command line in an iterm2 window
What happened
window focus stayed with iterm window
What should have happened
focus should have gone to a firefox window. doesn't matter what app is given to the macos open command's -a option, e.g., preview, safari, textedit, etc. the iterm2 window retains focus. in the years i've been using (and appreciating) iterm2, i've never seen this behavior before with macos. it started after an upgrade from macos 14.2 to 14.3. in macos' terminal app when the same command is given, focus switches as expected. i don't know if this is an iterm bug or the unfortunate side effect of the macos upgrade. if it's not something for you folks to fix, at least you'll know it's happening. thanks.