Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iTerm constantly resizing #216

Closed
thomaskern opened this issue Sep 22, 2014 · 4 comments · Fixed by #627
Closed

iTerm constantly resizing #216

thomaskern opened this issue Sep 22, 2014 · 4 comments · Fixed by #627
Labels

Comments

@thomaskern
Copy link

I have a second external monitor (24", 1920x1280) in vertical mode. I position 2 iterm windows there. The layout is 'Rows'.

What happens now is that the windows constantly resize. If i give focus to the bottom one, it increases its height and overlaps with the top window and vice versa.

The "solution" is to put a third window there temporarily (Chrome in my case) and after the resizing is done, throw the third window to the other screen. Now both iterm windows are at exactly have the size and don't consistently try to resize themselves.

I am running Amethyst 0.8.6.

Trello Card

@ianyh
Copy link
Owner

ianyh commented Sep 23, 2014

Is it a small overlap? If so this is a long-standing problem. Terminal window sizes are based on cursor size so they don't actually get sized to the exact specifications provided via the Accessibility API, so it triggers a usually useful behavior (windows that are too big to fit into their space in the grid are pushed on and off screen according to their focus) and ends up just being annoying. I don't have a good fix for it, but I'll keep this issue open to track it.

@ianyh ianyh added the bug label Sep 23, 2014
@thomaskern
Copy link
Author

Yes, its basically one line. Why does the resizing stop when a third window (different, non-cursor size based app) is added and then removed?

@ianyh
Copy link
Owner

ianyh commented Sep 23, 2014

Consider the case where we want the window to be (200, 200) and the window sizes itself to (200, 210). Then we add another window and we want it to be (200, 100) and the window sizes itself to (200, 95). Then we try to size it back up and it sizes it to (200, 195). Scenarios like this are pretty common with terminal windows. Sizing up and sizing down seem to have different effects. When the window is smaller than desired you just end up with a bit of empty space instead of overlapping windows.

@om2c0de
Copy link

om2c0de commented Oct 5, 2019

If someone else has problems with Iterm2 resizing - there is the option in Iterm2 menu Preferences -> Advanced -> Resize smoothly (should be - "on")..and Amethyst will work well with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants