zed icon indicating copy to clipboard operation
zed copied to clipboard

Overridden binding shown in command palette doesn't work

Open marcospb19 opened this issue 11 months ago • 1 comments

Summary

Command palette still suggesting a binding even tho it was overridden.

Steps to trigger the problem:

  1. Add "ctrl-shift-b": "workspace::ToggleRightDock" to key bindings (no context).
      { "bindings": { "ctrl-shift-b": "workspace::ToggleRightDock" } },
    
  2. Search for outline toggle in command palette. Actual Behavior: Palette shouldn't suggest something that doesn't work.

Expected Behavior: Palette does suggest something that doesn't work.

https://github.com/user-attachments/assets/66f0b4ed-e331-4dc8-959b-d76067a91f6b

As shown in the video, I'm always in the Workspace context where "ctrl-shift-b": "outline_panel::ToggleFocus" is in the default Linux shortcuts, but the way that I override it, it seems impossible to do the ToggleFocus.

Zed knows this when dispatching the key but doesn't know when suggesting it in the command palette.

Zed Version and System Specs

Zed: v0.179.0 (Zed Nightly 566c5f91a7ee4dffe8d3afa8c4ff3b04e71f21eb) OS: Linux X11 arch unknown Memory: 60.3 GiB Architecture: x86_64 GPU: AMD Radeon RX 6750 XT (RADV NAVI22) || radv || Mesa 24.3.4-arch1.1

marcospb19 avatar Mar 14 '25 19:03 marcospb19

Added to the quality week board :)

probably-neb avatar May 27 '25 14:05 probably-neb

Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!

github-actions[bot] avatar Nov 19 '25 09:11 github-actions[bot]