[1.14] Opening a tab makes the Terminal window resize #17543

Closed
opened 2026-01-31 05:45:30 +00:00 by claunia · 3 comments
Owner

Originally created by @ellgramar on GitHub (May 24, 2022).

Windows Terminal version

1.14.1433.0

Windows build number

10.0.22000.0

Other Software

No response

Steps to reproduce

Open Terminal and snap the window to your choice of left, right, or top. One may also snap another app to the right or left (opposite the terminal). Then open a new tab.

Uploading ellgramar-WinTermPrev-SnapBehaviour.mp4…

Expected Behavior

When opening a new tab, The window was expected to stay snapped to where it was placed.

https://user-images.githubusercontent.com/5509462/170111340-15b6e919-3d93-4262-b2e3-0a62a70e320a.mp4

Actual Behavior

When a new tab was opened, the window de-snapped, resized to the default launch dimensions and returned to the last free floating location it had been.

Originally created by @ellgramar on GitHub (May 24, 2022). ### Windows Terminal version 1.14.1433.0 ### Windows build number 10.0.22000.0 ### Other Software _No response_ ### Steps to reproduce Open Terminal and snap the window to your choice of left, right, or top. One may also snap another app to the right or left (opposite the terminal). Then open a new tab. Uploading ellgramar-WinTermPrev-SnapBehaviour.mp4… ### Expected Behavior When opening a new tab, The window was expected to stay snapped to where it was placed. https://user-images.githubusercontent.com/5509462/170111340-15b6e919-3d93-4262-b2e3-0a62a70e320a.mp4 ### Actual Behavior When a new tab was opened, the window de-snapped, resized to the default launch dimensions and returned to the last free floating location it had been.
Author
Owner

@zadjii-msft commented on GitHub (May 24, 2022):

Oh I know exactly what regressed this.

I bet this has to do with the Show/Hide work from #12515 / #12570. I'm betting that either showing the pty window, or showing the Terminal window in response to the PTY window opening is causing the terminal window to un-snap. Great.

@zadjii-msft commented on GitHub (May 24, 2022): Oh I know _exactly_ what regressed this. I bet this has to do with the Show/Hide work from #12515 / #12570. I'm betting that either showing the pty window, or showing the Terminal window in response to the PTY window opening is causing the terminal window to un-snap. Great.
Author
Owner

@gurnec commented on GitHub (May 24, 2022):

This can also be reproduced from a maximized Terminal window. Specifically:

  1. Set the Launch mode to Default.
  2. Start Windows Terminal, it opens in a non-maximized window.
  3. Maximize the window.
  4. Open a new tab, Windows Terminal "restores" / becomes non-maximized.
@gurnec commented on GitHub (May 24, 2022): This can also be reproduced from a maximized Terminal window. Specifically: 1. Set the Launch mode to Default. 2. Start Windows Terminal, it opens in a non-maximized window. 3. Maximize the window. 4. Open a new tab, Windows Terminal "restores" / becomes non-maximized.
Author
Owner

@ghost commented on GitHub (Jun 10, 2022):

:tada:This issue was addressed in #13164, which has now been successfully released as Windows Terminal Preview v1.14.145.🎉

Handy links:

@ghost commented on GitHub (Jun 10, 2022): :tada:This issue was addressed in #13164, which has now been successfully released as `Windows Terminal Preview v1.14.145`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.14.145) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17543