Allow for a window columns/rows sizing option per hotkey window summon rather than per new window
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.12
- OS version: macOS 10.15.6
- 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
- Attach a screen capture video if it would make the reproduction steps clearer.
- 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
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:
- Launch iterm2 with a default profile that makes a hotkey window available. The style is top of the screen with a desired column/row size. That size fits monitor 1 which is the main monitor.
- Also have a smaller monitor 2 attached.
- Sleep the machine
- Wake the machine. In this case, monitor 2 wakes faster than monitor 1, which causes all windows to resize themselves to fit monitor 2's resolution which is smaller than monitor 1.
- When monitor 1 finally wakes, macOS's window manager automatically restores all resized windows back to their original size before the OS went to sleep
- This doesn't work for iterm however. Now when iterm is re-summoned again via hotkey, it's a smaller size that fits monitor 2 rather than the originally specified column/row size that's desired.
What happened: iterm got permanently resized to a smaller size and needs to be manually resized each time the machine sleeps and wakes
What should have happened: iterm could either support macOS's attempt to resize everything back to their original size after monitor 1 wakes after monitor 2. Or allow a setting to force a specific size each time the hotkey window is summoned rather than only when a new window is created which happens much less often than sleep/wake cycles.