Skip to content

File > Close Project intermittently does not close the project #61316

Description

@saberoueslati

Reproduction steps

  1. Open Zed.
  2. Open a project.
  3. Open the File menu.
  4. Select “Close Project”.
  5. Repeat these steps until the issue occurs.

The issue is intermittent and does not happen every time. When it occurs, selecting “Close Project” appears to do nothing, and the project remains open.

Video of the bug happening

Screencast.from.2026-07-19.23-04-56.webm

Current vs. Expected behavior

Current behavior:

Sometimes, selecting File > Close Project has no effect. The currently open project remains open, with no visible error or notification.

Expected behavior:

Selecting File > Close Project should always close the current project.

Zed version and system specs

Zed: v1.13.0+dev.0c51c7fd2481859e9da5c490ef8e41ddbcf1a341 (Zed Dev 0c51c7f) (Taylor's Version)
OS: Linux X11 ubuntu 24.04
Memory: 31.1 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (RPL-P) || Intel open-source Mesa driver || Mesa 25.2.8-0ubuntu0.24.04.2

The issue happens to me also in the stable sometimes though less frequently for some reason

Attach Zed log file

Zed.log
2026-07-19T23:12:57+01:00 INFO  [zed] ========== starting zed version 1.13.0+dev.0c51c7fd2481859e9da5c490ef8e41ddbcf1a341, sha 0c51c7f ==========
2026-07-19T23:12:57+01:00 INFO  [gpui_linux::linux::x11::client] XInput version: 2.4, gesture support: true
2026-07-19T23:12:57+01:00 INFO  [gpui_linux::linux::x11::client] x11: compositor present: true, gtk_frame_extents_supported: true
2026-07-19T23:12:57+01:00 INFO  [gpui_linux::linux::x11::client] Using scale factor from Xft.dpi: 1.25
2026-07-19T23:12:57+01:00 INFO  [gpui_linux::linux::platform] Compositor GPU hint: vendor=0x8086, device=0xa7a8 (from dev 226:1)
2026-07-19T23:12:57+01:00 INFO  [zed_xim::x11rb] Try connect ibus
2026-07-19T23:12:57+01:00 WARN  [fs::fs_watcher] OS file watch limit reached while watching "/home/saber/.config/zed/settings.json"; skipping new native file watcher registrations for 5 seconds
2026-07-19T23:12:57+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/.config/zed/settings.json" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [zed::reliability::hang_detection] debug build, only reporting hangs longer then 5s
2026-07-19T23:12:58+01:00 WARN  [zed::reliability] Minidump endpoint not set
2026-07-19T23:12:58+01:00 INFO  [zed::reliability] memory usage: resident 207 MiB, virtual 3030 MiB
2026-07-19T23:12:58+01:00 INFO  [extension_host] extensions updated. loading 1, reloading 0, unloading 0
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/.local/share/zed/extensions/installed" was skipped; retrying in background
2026-07-19T23:12:58+01:00 INFO  [prompt_store::rules_to_skills_migration] Rules-to-skills migration already marked done; skipping startup migration
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/assets" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/assets/prompts" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src" was skipped; retrying in background
2026-07-19T23:12:58+01:00 INFO  [gpui_linux::linux::platform] activate is not implemented on Linux, ignoring the call
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/bash" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/diff" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/cpp" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/gowork" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/jsdoc" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/go" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/typescript" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/markdown-inline" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/markdown" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/rust" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/javascript" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/zed-keybind-context" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/yaml" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/regex" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/c" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/gomod" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/jsonc" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/json" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/tsx" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/gitcommit" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/python" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/coding/zed/crates/grammars/src/css" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/.gitconfig" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/.config/zed/themes" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/.gitconfig" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/tmp/zed-issue-18534-repro" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/home/saber/.config/git/ignore" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/tmp/zed-issue-18534-repro/.git" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/tmp/zed-issue-18534-repro/.git/refs" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/tmp/zed-issue-18534-repro/.git/refs/tags" was skipped; retrying in background
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/tmp/zed-issue-18534-repro/.git/refs/heads" was skipped; retrying in background
2026-07-19T23:12:58+01:00 INFO  [gpui_linux::linux::x11::window] Using Visual { id: 549, colormap: 0, depth: 32 }
2026-07-19T23:12:58+01:00 INFO  [gpui_linux::linux::x11::window] Creating colormap 71303170
2026-07-19T23:12:58+01:00 WARN  [fs::fs_watcher] watch registration for "/tmp/zed-issue-18534-repro/output" was skipped; retrying in background
2026-07-19T23:12:58+01:00 INFO  [gpui_wgpu::wgpu_context] Found 4 GPU adapter(s):
2026-07-19T23:12:58+01:00 INFO  [gpui_wgpu::wgpu_context]   - Intel(R) Graphics (RPL-P) (vendor=0x8086, device=0xa7a8, backend=Vulkan, type=IntegratedGpu)
2026-07-19T23:12:58+01:00 INFO  [gpui_wgpu::wgpu_context]   - NVIDIA GeForce RTX 4060 Laptop GPU (vendor=0x10de, device=0x28a0, backend=Vulkan, type=DiscreteGpu)
2026-07-19T23:12:58+01:00 INFO  [gpui_wgpu::wgpu_context]   - Mesa Intel(R) Graphics (RPL-P) (vendor=0x8086, device=0x0000, backend=Gl, type=IntegratedGpu)
2026-07-19T23:12:58+01:00 INFO  [gpui_wgpu::wgpu_context]   - llvmpipe (LLVM 20.1.2, 256 bits) (vendor=0x10005, device=0x0000, backend=Vulkan, type=Cpu)
2026-07-19T23:12:58+01:00 INFO  [gpui_wgpu::wgpu_context] Testing adapter: Intel(R) Graphics (RPL-P) (Vulkan)...
2026-07-19T23:12:58+01:00 INFO  [gpui_wgpu::wgpu_context] Selected GPU (passed configuration test): Intel(R) Graphics (RPL-P) (Vulkan)
2026-07-19T23:12:58+01:00 INFO  [gpui_wgpu::wgpu_context] Selected GPU adapter: "Intel(R) Graphics (RPL-P)" (Vulkan)
2026-07-19T23:12:58+01:00 INFO  [workspace] Rendered first frame
2026-07-19T23:12:58+01:00 INFO  [zed::zed] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-P)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 25.2.8-0ubuntu0.24.04.2" }
2026-07-19T23:12:58+01:00 INFO  [gpui_linux::linux::x11::client] Refreshing every 6ms
2026-07-19T23:12:58+01:00 INFO  [zed_xim::x11rb] XConnected server on 25165887, transport version: 0.0, TRANSPORT_MAX: 20
2026-07-19T23:12:58+01:00 ERROR [agent] Failed to authenticate provider: ChatGPT Subscription: Sign in with your ChatGPT Plus or Pro subscription to use this provider.
2026-07-19T23:12:58+01:00 INFO  [git::repository] opening git repository at "/tmp/zed-issue-18534-repro/.git" using git binary "/usr/bin/git"
2026-07-19T23:12:59+01:00 INFO  [node_runtime] using Node.js found on PATH: SystemNodeRuntime { node: "/home/saber/.nvm/versions/node/v24.12.0/bin/node", npm: "/home/saber/.nvm/versions/node/v24.12.0/bin/npm", scratch_dir: "/home/saber/.local/share/zed/node" }
2026-07-19T23:12:59+01:00 INFO  [agent_client_protocol::util] connection; name="zed"
2026-07-19T23:13:03+01:00 WARN  [agent_servers::acp] Received session notification for unknown session: SessionId("db9d12af-d008-45ec-8448-2ad27e944a7b")
2026-07-19T23:13:03+01:00 WARN  [agent_servers::acp] Received session notification for unknown session: SessionId("db9d12af-d008-45ec-8448-2ad27e944a7b")
2026-07-19T23:13:03+01:00 WARN  [fs::fs_watcher] OS file watch limit reached while watching "/home/saber/.config/zed/settings.json"; skipping new native file watcher registrations for 5 seconds
2026-07-19T23:13:28+01:00 INFO  [zed::reliability] memory usage: resident 517 MiB (+309 MiB), virtual 14475 MiB
2026-07-19T23:16:32+01:00 ERROR [gpui::app] timed out waiting on app_will_quit
2026-07-19T23:16:32+01:00 WARN  [gpui_linux::linux::x11::clipboard] Could not hand the clipboard contents over to the clipboard manager. The request timed out.

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions