getcursor / cursor

The AI Code Editor
https://cursor.com
23.93k stars 1.5k forks source link

When using @ Symbols, in the chat, the hovered item takes precedence over the keyboard input #1418

Open dgokcin opened 5 months ago

dgokcin commented 5 months ago

Description: When using the cursor app, I noticed inconsistent behavior regarding keyboard input and mouse interaction in different menus.

Steps to Reproduce:

  1. Open the desktop app.
  2. Navigate to Go to File with Command + P.
  3. Hover the mouse cursor over an item in the list and close the menu
  4. Press Command + P to initiate the same flow.
  5. Enter keystrokes(a file name) and oberve the behavior.
  6. Do the same thing for the chat with Command + L and hover on something.
  7. Close the menu and type Diff and try selecting @Diff of Working State + <Enter>
  8. Observe the difference

2024-04-25 08 47 28

Expected Behavior:

Actual Behavior:

Cursor & OS Information

Version: 0.32.2
VSCode Version: 1.86.2
Commit: f8ed437267c50dbc975beb3d51f89c800277bb30
Date: 2024-04-17T09:01:02.813Z
Electron: 27.2.3
ElectronBuildId: undefined
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.4.0

Additional Notes: