Sidebar Recents and Pinned sections not displaying sessions after relaunch

Resolved 💬 4 comments Opened Apr 25, 2026 by LostWhen Closed May 30, 2026

Bug Description

The sidebar Recents and Pinned sections are not displaying sessions correctly. Only a single old session appears in Recents (the oldest/first session ever created), and Pinned sessions do not appear in the sidebar Pinned section — even after pinning and relaunching.

Environment

  • Version: v1.4758.0 (bug present after relaunching to apply update)
  • OS: Windows 11
  • Project: local project directory

Steps to Reproduce

  1. Use Claude Code across multiple sessions in a project
  2. Relaunch the app (e.g. to apply a pending update)
  3. Observe sidebar Recents — only one old session is shown, all newer sessions are missing
  4. Pin a session via the session dropdown menu
  5. Relaunch again
  6. Observe sidebar Pinned section — pinned session does not appear there

Expected Behavior

  • Recents should show the most recently active sessions
  • Pinned sessions should appear in the Pinned section of the sidebar

Actual Behavior

  • Recents shows only one session (the oldest one, from months/weeks ago), never updates
  • Pinned section shows "Drag to pin" as if nothing is pinned
  • The home screen Sessions panel correctly shows the pinned session — so the pin data is saved, the sidebar just doesn't render it

Additional Notes

  • All session data is intact on disk at ~/.claude/projects/<project>/
  • The home screen Sessions panel correctly shows pinned sessions
  • The history.jsonl file has entries up to the current date, confirming sessions are being recorded
  • The sidebar appears to be stuck/not syncing with actual session state
  • Workaround: use the home screen Sessions panel for pinned sessions, and search to find others

---
Reported by Lostwhen using Claude Sonnet 4.6

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗