-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Mac terminal resize loop/bug when running kubectl run -it #30714
Comments
I cannot reproduce this behavior in my config. |
@tigrato This seems to happen fairly consistently in the default macos terminal (using Version 2.13 (447)) . I personally use iterm and the issue doesn't happen there, but others in the company who use the default mac terminal have had trouble with this. Unfortunately it looks like something we can't just tell people to ignore, they need to change to iTerm for this to work properly, otherwise it makes it impossible to read anything. I posted a video of what is looks like in the teleport slack workspace when we discussed there. |
Oh, I tested with iterm that's why I didn't reproduce it. |
I experience the same issue (vibration or jitter of terminal due to rapid continuous resizing) with
and it does seem specifically related to teleport, since I can run the same command against the same cluster when connecting via "assume" (granted 0.21.1) and I don't have this issue. |
@tigrato were you able to reproduce? |
When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session. If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes. This PR prevents Teleport from resending the resize event to the party that triggered the initial resize. Fixes #30714 Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session. If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes. This PR prevents Teleport from resending the resize event to the party that triggered the initial resize. Fixes #30714 Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session. If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes. This PR prevents Teleport from resending the resize event to the party that triggered the initial resize. Fixes #30714 Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session. If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes. This PR prevents Teleport from resending the resize event to the party that triggered the initial resize. Fixes #30714 Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session. If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes. This PR prevents Teleport from resending the resize event to the party that triggered the initial resize. Fixes #30714 Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session. If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes. This PR prevents Teleport from resending the resize event to the party that triggered the initial resize. Fixes #30714 Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session. If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes. This PR prevents Teleport from resending the resize event to the party that triggered the initial resize. Fixes #30714 Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session. If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes. This PR prevents Teleport from resending the resize event to the party that triggered the initial resize. Fixes #30714 Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
Expected behavior:
Terminal stays the same size when starting an interactive command with kubectl run -it
Current behavior:
Terminal rapidly resizes
Bug details:
Teleport v13.3.2 git:v13.3.2-0-gfc60440 go1.20.7
Proxy version: 12.4.3
kubectl run -it alpine --image alpine --command sh
The text was updated successfully, but these errors were encountered: