zed icon indicating copy to clipboard operation
zed copied to clipboard

"Close Others" should not close pinned tabs

Open holly-hacker opened this issue 7 months ago • 2 comments

Summary

Closing tabs with "Close All" will close everything except pinned tabs (as per #19560), but "Close Others" will close pinned tabs as well.

Steps to trigger the problem:

  1. Open several tabs
  2. Pin a tab
  3. Right-click an unpinned tab and click "Close Others"

Actual Behavior: Every tab except the chosen one gets closed, including the pinned tab.

Expected Behavior: Every tab except the chosen on and the pinned tab(s) get closed.


I found this behavior very surprising so I am assuming it is not intended. If this is how it's intended to work, I suppose this bug report can be closed.

Zed Version and System Specs

Zed: v0.179.4 (Zed) OS: Linux Wayland nixos 25.05 Memory: 31.2 GiB Architecture: x86_64 GPU: AMD Radeon RX 7800 XT || AMD open-source driver || 2025.Q1.3 (LLPC)

holly-hacker avatar Apr 05 '25 22:04 holly-hacker

Thanks for reporting. I can reproduce this on latest main. We should fix this.

smitbarmase avatar Apr 29 '25 14:04 smitbarmase