zed
zed copied to clipboard
"Close Others" should not close pinned tabs
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:
- Open several tabs
- Pin a tab
- 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)
Thanks for reporting. I can reproduce this on latest main. We should fix this.