If iTerm2 is in foreground, secondary hotkey window won't hide
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: Build 3.0.20161224-nightly
- OS version: macOS 10.12.1
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue 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 com.googlecode.iterm2.plist
Detailed steps to reproduce the problem:
- Open Preferences
- Create a dedicated hotkey window attached to "Full-width top of screen" and set a hotkey (I use Cmd+U)
- Duplicate the hotkey window, rename it, add more transparency (to differentiate), attach it to "Full-width bottom of screen", set different hotkey (I use Cmd+Shift+U)
- Close prefs (Cmd+w)
- Restart so changes take place (I opened a different ticket regarding restart)
- Open a normal terminal window if one not already open and keep it in foreground
- Use 2nd hotkey window hotkey (Cmd+shift+u) to open it, opens fine
- Use hotkey again to close -- does not close
What happened: With two hotkey windows, when iTerm2 is in the background, both hotkey windows behave properly (opening and hiding on command via correct hotkey). However, when iTerm2 is in the foreground, using the 2nd hotkey window will open, but the hotkey does NOT close it. The first hotkey window continues to work fine, both opening and closing.
What should have happened: When iTerm2 is in the foreground, then hitting the 2nd hotkey to open the hotkey window, when hitting the 2nd hotkey a second time the hotkey window show hide.