You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Remote workspace forces file Diff tabs back to terminal #11231
Summary
In a workspace owned by a remote host, opening a file Diff from the right-hand panel always forces the workspace to the terminal tab. The Diff tab cannot be made active, including by manually clicking it afterward.
Steps to reproduce
Open or connect to a workspace that belongs to a remote host.
Ensure the workspace has a terminal tab and a changed file that can be opened as a Diff.
From the right-hand panel, open the Diff for that file.
Observe the active tab, then manually click the Diff tab.
Actual behavior
Opening the Diff switches focus to the terminal tab. Clicking the Diff tab afterward immediately returns or remains on the terminal, so the Diff cannot be viewed.
Expected behavior
Opening a Diff from the right-hand panel should activate and retain the Diff tab. A remote-host workspace must not force focus back to its terminal tab unless the user explicitly selects that terminal.
Impact
File diffs are effectively inaccessible in remote-host workspaces, blocking review from the right-hand changed-file panel.
changed the title [-][Bug]: Remote-host connection switches away from an open Diff[/-][+][Bug]: Remote workspace forces file Diff tabs back to terminal[/+]on Jul 28, 2026
Fixed by #15390. The remote session now works out which tab is visible from the tab groups themselves, so a diff tab stays selected when the host sends a new snapshot and no longer gets bounced back to the terminal. If it still happens on a current build, please reopen with your version and we'll take another look.
Activity
[-][Bug]: Remote-host connection switches away from an open Diff[/-][+][Bug]: Remote workspace forces file Diff tabs back to terminal[/+]innocarpe commentedon Jul 29, 2026
Opened fix PR: #11277
OrcaWin commentedon Oct 9, 2026
Fixed by #15390. The remote session now works out which tab is visible from the tab groups themselves, so a diff tab stays selected when the host sends a new snapshot and no longer gets bounced back to the terminal. If it still happens on a current build, please reopen with your version and we'll take another look.