Share via

Visual Studio 2026 Insiders — Editor Collapses When Terminal Gains Focus (Window‑Layout Regression)

Yang, Hui 0 Reputation points
2026-05-05T19:53:50.38+00:00

Below is the summary by Copilot after a day's troubleshooting the VS Insiders layout.

Title

Editor collapses or disappears when Terminal or other tool windows gain focus — VS 2026 Insiders window‑layout regression

Environment

Visual Studio 2026 Insiders (latest build as of May 2026)

Windows 11

Reproducible across multiple sessions and solutions

No custom extensions involved

Summary

In the 2026 Insiders build, the editor is incorrectly treated as a floating document. When the Terminal or certain tool windows gain focus, the editor collapses or disappears, even when fully docked. This behavior persists even after disabling Preview Tabs, Auto‑Hide, and all docking/preview features.

This appears to be a regression in the new window‑layout engine / immersive focus system.

Reproduction Steps

Open any solution in Visual Studio 2026 Insiders.

Ensure the editor, Terminal, and Solution Explorer are docked.

Disable all Preview Tab options.

Click inside the Terminal window.

Switch between apps (e.g., browser → Visual Studio).

Return to Visual Studio.

Actual Behavior

Editor collapses or disappears when Terminal gains focus.

Editor collapses when switching apps.

Docking rules are ignored.

Preview Tab settings are ignored.

Right‑click sometimes unavailable on the editor.

Editor behaves as if it is a floating document, even though it is docked.

Focus Mode is removed from UI, but its behavior still triggers internally.

Full Screen mode appears stuck internally even when the UI shows it as off.

Expected Behavior

Editor should remain visible and docked.

Clicking Terminal should not collapse the editor.

Switching apps should not alter layout.

Docking and Preview Tab settings should be respected.

Editor should not enter floating mode unless explicitly undocked.

Workaround

The only reliable workaround is:

Press Shift + Alt + Enter

This exits a hidden immersive/full‑screen state that is not reflected in the UI.

After doing this, the layout stabilizes until Visual Studio is restarted or the bug is retriggered.

Impact

This issue severely disrupts workflow:

Editor disappears unpredictably

Layout becomes unstable

Docking cannot be trusted

Terminal use becomes frustrating

Users lose context repeatedly

This has been reproducible for over a month in the Insiders build.

Title

Editor collapses or disappears when Terminal or other tool windows gain focus — VS 2026 Insiders window‑layout regression

Environment

Visual Studio 2026 Insiders (latest build as of May 2026)

Windows 11

Reproducible across multiple sessions and solutions

No custom extensions involved

Summary

In the 2026 Insiders build, the editor is incorrectly treated as a floating document. When the Terminal or certain tool windows gain focus, the editor collapses or disappears, even when fully docked. This behavior persists even after disabling Preview Tabs, Auto‑Hide, and all docking/preview features.

This appears to be a regression in the new window‑layout engine / immersive focus system.

Reproduction Steps

Open any solution in Visual Studio 2026 Insiders.

Ensure the editor, Terminal, and Solution Explorer are docked.

Disable all Preview Tab options.

Click inside the Terminal window.

Switch between apps (e.g., browser → Visual Studio).

Return to Visual Studio.

Actual Behavior

Editor collapses or disappears when Terminal gains focus.

Editor collapses when switching apps.

Docking rules are ignored.

Preview Tab settings are ignored.

Right‑click sometimes unavailable on the editor.

Editor behaves as if it is a floating document, even though it is docked.

Focus Mode is removed from UI, but its behavior still triggers internally.

Full Screen mode appears stuck internally even when the UI shows it as off.

Expected Behavior

Editor should remain visible and docked.

Clicking Terminal should not collapse the editor.

Switching apps should not alter layout.

Docking and Preview Tab settings should be respected.

Editor should not enter floating mode unless explicitly undocked.

Workaround

The only reliable workaround is:

Press Shift + Alt + Enter

This exits a hidden immersive/full‑screen state that is not reflected in the UI.

After doing this, the layout stabilizes until Visual Studio is restarted or the bug is retriggered.

Impact

This issue severely disrupts workflow:

Editor disappears unpredictably

Layout becomes unstable

Docking cannot be trusted

Terminal use becomes frustrating

Users lose context repeatedly

This has been reproducible for over a month in the Insiders build.

Developer technologies | Visual Studio | Setup
0 comments No comments

2 answers

Sort by: Most helpful
  1. Yang, Hui 0 Reputation points
    2026-05-05T21:05:18.9866667+00:00

    I finally applied the update to use the latest insider version. In addition, I installed the latest .NET 10. Afterwards, I relaunched my project; opened file and the terminal all stayed in place. The editor collapse issue I reported earlier is resolved. The display is perfect to my preference. I’m a champ now.

    Whoever struggled with this problem can refer to my solution and the VS Insiders version below:

    • Insiders [11723.189]
    • Instance: 1b98f05e

    You may close this problem. Thanks!

    0 comments No comments

  2. Q&A Assist
    2026-05-05T19:53:59.0533333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    There is no information in the provided context indicating that this Visual Studio 2026 Insiders window‑layout issue (editor collapsing when Terminal gains focus) is a known bug, has a tracking ticket, or has been fixed in any listed build.

    The only directly related item in the context is a different terminal issue that has already been fixed:

    • “GitHub Copilot terminal steals the focus” listed as a top bug fix in Visual Studio 2026 18.3.1.

    Given the context, the only supported guidance is:

    1. Use the current workaround already identified: Shift + Alt + Enter to exit the hidden immersive/full‑screen state when the layout breaks.
    2. Install the latest available Visual Studio 2026 Insiders build and the latest mainline 2026 release (e.g., 18.3.1 or later) to pick up all current window‑layout and terminal‑related fixes.
    3. If the issue persists on the latest Insiders build, file or update a Developer Community ticket from within Visual Studio (Help → Send Feedback → Report a Problem) so it can be tracked similarly to the other layout and terminal regressions already listed in the release notes.

    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.