Focus loss after dismissing window with hotkey
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.6
- OS version: 10.15.1 (19B88)
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
- Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
Detailed steps to reproduce the problem:
- Set up a profile to "Automatically reopen on app reactivation" (Profiles > Keys > Configure Hotkey Window) (uncheck "Pin hotkey window")
- Summon the window via hotkey
- Switch focus to another app; the iTerm window should disappear
- Switch focus back into iTerm, preferably by clicking the Preferences window
- Dismiss the window via the same hotkey
What happened: Focus was returned to the previous application
What should have happened: The window should close, but focus should stay within iTerm