vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Clicking on changed files from `All Sessions` sometimes doesn't work

Open bamurtaugh opened this issue 3 weeks ago • 3 comments

Ref https://github.com/microsoft/vscode-internalbacklog/issues/6388

  • Kick off a few background sessions, each of which changes files
  • See the changed files listed for each session
    • Image
  • ❓ Clicking to open changes for the top session doesn't work
    • Image

If I click into the changed file from the session output, it works as expected:

Image Image

bamurtaugh avatar Dec 05 '25 20:12 bamurtaugh

Clicking on the changed files for the second background session does somehow work though:

Image

bamurtaugh avatar Dec 05 '25 20:12 bamurtaugh

Confirmed that I'm still experiencing this issue in the latest VS Code Insiders and Chat pre-release (clicking on the 1 file +43 -0 doesn't do anything). Though I wonder if it's because I previously closed the worktree in VS Code? If that's the case, I wonder how we can indicate this to users / if we should hide this file diff from the session summary, to avoid users thinking the changed files view is broken.

bamurtaugh avatar Dec 06 '25 00:12 bamurtaugh

This should fix it https://github.com/microsoft/vscode/pull/281621#event-21395146426, looks like the extension still can only compute a diff from a worktree so non-worktrees would fail even after merging this

osortega avatar Dec 06 '25 00:12 osortega