Skip to content

Opening projects become super slow #45441

@failable

Description

@failable

Reproduction steps

  1. Open Zed
  2. Open a project

The issue does not happen before upgrading to 0.218.

Current vs. Expected behavior

Current: Opening a project takes 4-5 seconds to show the new window. Tons of error log is shown.

Expected: should be instant

Zed version and system specs

Zed: v0.218.3+preview.104.4adf4c6c1dc3cad2cb35273ee707812c6874ac3b (Zed Preview)
OS: macOS 26.2
Memory: 64 GiB
Architecture: aarch64

Attach Zed log file

Zed.log
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:47+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:48+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2025-12-20T19:49:48+08:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip

Relevant Zed settings

settings.json
{
  "icon_theme": "Catppuccin Latte",
  "vim_mode": false,
  "show_wrap_guides": false,
  "theme": "One Light",
  "ui_font_size": 14.8,
  "ui_font_family": "SF Pro",
  "buffer_font_family": "DM Mono",
  "buffer_font_size": 12,
  "buffer_line_height": "standard",
  "agent_ui_font_size": 15,
  "cursor_blink": false,
  "confirm_quit": true,
  "on_last_window_closed": "quit_app",
  "always_treat_brackets_as_autoclosed": true,
  "show_completion_documentation": false,
  "hover_popover_enabled": false,
  "extend_comment_on_newline": false,
  "use_system_path_prompts": false,
  "expand_excerpt_lines": 10,
  "excerpt_context_lines": 10,
  "use_smartcase_search": true,
  "inline_code_actions": false,
  "go_to_definition_fallback": "none",
  "session": {
    "trust_all_worktrees": true,
  },
  "features": {
    "edit_prediction_provider": "supermaven",
  },
  "title_bar": {
    "show_branch_icon": false,
    "show_branch_name": false,
    "show_project_items": true,
  },
  "tabs": {
    "close_position": "left",
  },
  "search": {
    "button": false,
  },
  "inlay_hints": {
    "enabled": false,
  },
  "collaboration_panel": {
    "button": false,
  },
  "git_panel": {
    "button": false,
    "default_width": 300,
  },
  "debugger": {
    "button": false,
  },
  "notification_panel": {
    "button": false,
  },
  "outline_panel": {
    "button": false,
    "default_width": 300,
  },
  "diagnostics": {
    "inline": {
      "enabled": false,
    },
  },
  "language_models": {
    "anthropic": {
      "api_url": "https://api.minimax.io/anthropic",
      "available_models": [
        {
          "name": "MiniMax-M2",
          "display_name": "MiniMax-M2",
          "max_tokens": 204800,
        },
      ],
    },
    "openai_compatible": {
      "MiniMax": {
        "api_url": "https://api.minimax.io/v1",
        "available_models": [
          {
            "name": "MiniMax-M2",
            "display_name": "MiniMax-M2",
            "max_tokens": 204800,
            "capabilities": {
              "tools": true,
              "images": false,
              "parallel_tool_calls": false,
              "prompt_cache_key": false,
            },
          },
        ],
      },
    },
    "vercel": {
      "api_url": "https://ai-gateway.vercel.sh/v1",
      "available_models": [
        {
          "name": "anthropic/claude-sonnet-4",
          "max_tokens": 200000,
        },
        {
          "name": "minimax/minimax-m2",
          "max_tokens": 209920,
        },
      ],
    },
  },
  "agent": {
    "inline_assistant_model": {
      "provider": "openrouter",
      "model": "deepseek/deepseek-v3.2",
    },
    "default_model": {
      "provider": "vercel",
      "model": "minimax/minimax-m2",
    },
    "default_view": "text_thread",
    "enable_feedback": false,
    "always_allow_tool_actions": true,
    "default_profile": "write",
    "button": false,
    "default_width": 685,
    "notify_when_agent_waiting": "never",
    "message_editor_min_lines": 7,
  },
  "agent_servers": {
    "mini-agent": {
      "type": "custom",
      "command": "mini-agent-acp",
    },
  },
  "file_finder": {
    "file_icons": true,
  },
  "gutter": {
    "line_numbers": false,
    "folds": false,
    "runnables": false,
    "breakpoints": false,
  },
  "toolbar": {
    "breadcrumbs": true,
    "quick_actions": false,
  },
  "tab_bar": {
    "show": false,
    "show_nav_history_buttons": false,
  },
  "git": {
    "inline_blame": {
      "enabled": false,
    },
    "git_gutter": "tracked_files",
  },
  "project_panel": {
    "button": false,
    "default_width": 300,
    "scrollbar": {
      "show": "never",
    },
    "entry_spacing": "standard",
    "auto_reveal_entries": false,
    "auto_fold_dirs": false,
  },
  "scrollbar": {
    "show": "never",
  },
  "indent_guides": {
    "enabled": false,
  },
  "calls": {
    "mute_on_join": true,
    "share_on_join": false,
  },
  "journal": {
    "hour_format": "hour24",
  },
  "file_scan_exclusions": [
    "**/.git",
    "**/.svn",
    "**/.hg",
    "**/.jj",
    "**/.repo",
    "**/CVS",
    "**/.DS_Store",
    "**/Thumbs.db",
    "**/.classpath",
    "**/.settings",
    "**/*.dist",
    "**/*.app",
  ],
  "global_lsp_settings": {
    "button": false,
  },
  "languages": {
    "Python": {
      // "language_servers": ["basedpyright", "ruff"],
      // "language_servers": ["zuban", "ruff"],
      "language_servers": ["ty", "ruff"],
      "code_actions_on_format": {
        "source.organizeImports.ruff": true,
        "source.fixAll.ruff": true,
      },
    },
  },
  "lsp": {
    "rust-analyzer": {
      "initialization_options": {
        "check": {
          "command": "clippy",
        },
        "imports": {
          "prefix": "crate",
        },
      },
    },
    "ty": {
      "binary": {
        "path": "ty",
        "arguments": ["server"],
      },
    },
  },
  "file_types": {
    "Shell Script": [".env.*", ".env-*"],
    "Dockerfile": ["Dockerfile*"],
    "JSONC": [
      "**/.zed/**/*.json",
      "**/zed/**/*.json",
      "**/Zed/**/*.json",
      "**/.vscode/**/*.json",
      "*.jsonl",
    ],
    "HTML": ["*.wxml"],
    "CSS": ["*.wxss"],
  },
  "terminal": {
    "max_scroll_history_lines": 100000,
    "shell": {
      "program": "fish",
    },
    "dock": "right",
    "button": false,
    "blinking": "off",
    "env": {
      "EDITOR": "zed --wait",
    },
    "detect_venv": {
      "on": {
        "activate_script": "fish",
      },
    },
    "toolbar": {
      "breadcrumbs": false,
    },
    "cursor_shape": "bar",
    "default_width": 685,
  },
  "telemetry": {
    "diagnostics": false,
    "metrics": false,
  },
  // "proxy": "socks5://127.0.0.1:7890",
  // One Light
  "experimental.theme_overrides": {
    "status_bar.background": "#fafafaff",
    "title_bar.background": "#fafafaff",
    "tab_bar.background": "#f6f6f6ff",
    "tab.inactive_background": "#f6f6f6ff",
    "panel.background": "#fafafaff",
    "border": "#fafafaff",
    "border.variant": "#eeeeeeff",
    "hint": "#bbbbbbf0",
    "editor.active_line.background": "#f4f4f4ff",
    "element.selected": "#e6e6e6ff",
    "element.background": "#f2f2f2ff",
    "ghost_element.selected": "#f1f1f1ff",
    "ghost_element.hover": "#f3f3f3ff",
    "ghost_element.active": "#dadadaff",
    "background": "#fafafaff",
    "text": "#454545ff",
    "text.muted": "#58585acc",
    "elevated_surface.background": "#f6f6f6ff",
    "editor.document_highlight.write_background": "#dce1e6ff",
    "conflict": "#f0af4bff",
    "modified": "#f0af4bff",
    "version_control.modified": "#f0af4bff",
    "warning": "#f0af4bff",
  },
}

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

Labels

area:performanceFeedback for performance issues, speed, memory usage, etcfrequency:alwaysBug that happens for everyone on every platform no matter how they use Zedmeta:regressionthis used to work and now doesn'tpriority:P1Security holes w/o exploit, common crash, install/update, sign-in, badly broken common featuresstate:needs infoIssue that needs more information from the userstate:needs reproNeeds reproduction steps / someone to reproduce

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions