Panes do not resize proportionally after screen resolution change
- iTerm2 version: 3.2.9
- OS version: 10.14.5
This is probably nearly impossible to reproduce for most of the people, as it depends on an OS X bug:
Detailed steps to reproduce the problem:
- Connect your Mac to an external display that support a higher resolution than its internal display
- Open iTerm2 window, split it into panes and make it nearly full screen
- Lock your Mac and let it fall asleep
- Unlock your Mac
What happened: macOS seems to have a bug in which it resets the screen resolution every time it falls asleep - probably due to the fact that it then disconnects from the external screen. This apparently leads to MacOS resizing all windows in a way they can fit the smaller internal screen resolution. However, when waking it up again, it recognises the external screen and sets the screen resolution higher. All existing windows are being resized back to their former size. In that case, iTerm2 panes however remain tiny and won't resize whatsoever.
What should have happened: The panes should return to scaling proportionally to the window size. As a workaround, a menu option (e.g. "View" -> "Resize all panes proportionally") could be used to help fix this situation. Depending on the number of panes it takes quite some time to manually rescale them back to a size that works.