zed icon indicating copy to clipboard operation
zed copied to clipboard

Cannot manipulate text selection in diagnostics popovers using keyboard shortcuts

Open injust opened this issue 3 weeks ago • 0 comments

Summary

Description

After selecting text in a diagnostics popover, the standard text selection keyboard shortcuts should be usable, e.g. shift-left/right, shift-opt-left/right, and shift-cmd-left/right.

Steps to reproduce:

  1. Write some code that produces an inline diagnostic error/warning
  2. Hover the mouse cursor over the line to show the popover
  3. Move the mouse cursor over the popover
  4. Click-and-drag to select some text
  5. Use keyboard shortcuts to manipulate the selected text

Expected Behavior: The keyboard shortcut manipulates the selected text in the popover Actual Behavior: The keyboard shortcut manipulates the buffer text, closing the popover

Zed Version and System Specs

Zed: v0.213.3 (Zed) OS: macOS 15.7.2 Memory: 16 GiB Architecture: x86_64

injust avatar Nov 23 '25 11:11 injust