Skip to content

Changes list only show the last file #22812

Closed as duplicate
Closed as duplicate

Description

@imKenjo18

The problem

Sometimes, while working on a project, the list of changes disappear and only show the last file. I don't know how to reproduce. Changing repos fixes it.

Been experiencing this since 3.6.4, I thought this update would fix it.

Release version

3.6.5

Operating system

Windows 11

Steps to reproduce the behavior

No response

Log files

2026-09-03.desktop.production.log

Screenshots

Image

Additional context

No response

Activity

  1. desktop-triage commented on Sep 3, 2026

    @desktop-triage

    Triage summary: This looks like a genuine bug — the reporter describes a functional regression (changes list collapsing to a single file) rather than a feature request, and states it started with 3.6.4 (currently on 3.6.5). I'm suggesting bug (for maintainer approval) at low-to-medium priority given a workaround exists (switching repos) and there are no clear repro steps yet.

    Initial hypothesis: The working directory status recompute path in updateChangedFiles rebuilds WorkingDirectoryStatus from the freshly parsed git status files via WorkingDirectoryStatus.fromFiles(mergedFiles) (line 73) on every status refresh, and the selection logic (lines 76-104) falls back to selecting only mergedFiles[0] when the previous selection is no longer valid. If a status-refresh event races with a partial/incomplete git status --porcelain parse (for example triggered mid-write by another process, similar to the bulk-write scenarios in #22619 and #22596), mergedFiles could transiently contain only one file, and the list would render just that entry until the next full refresh. This would explain "list disappears, shows only the last file" without a fixed repro, and why switching repos (forcing a fresh, complete status read) clears it. Confirming this needs the attached log's git-status timing/output around the drop, which isn't fully legible from the issue text alone — a first responder should check the log for git status invocation timing relative to the UI update.

    Duplicate Check: No exact duplicate found. Related but distinct: #22619 ("Changes list renders blank, unclickable rows...") and #22596 ("Not all modified files rendered...") both describe rendering/parsing issues during bulk external file changes, but neither matches this report's specific symptom of the list collapsing to a single (the last) file with no described bulk-edit trigger. Worth linking as related context, not as duplicates.

    Suggested Next Steps: Ask the reporter for reproduction steps if they notice a pattern (e.g., number of files, external tool activity, timing after a build/checkout), and have someone review the attached production log for anomalies around the time the list collapsed.

    Generated by Issue Triage (skills-driven) for #22812 · auto · 27.1 AIC · ⌖ 1.52 AIC · ⊞ 9.1K · ◷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions