Description: When using the cursor app, I noticed inconsistent behavior regarding keyboard input and mouse interaction in different menus.
Steps to Reproduce:
- Open the desktop app.
- Navigate to
Go to File
withCommand + P
. - Hover the mouse cursor over an item in the list and close the menu
- Press
Command + P
to initiate the same flow. - Enter keystrokes(a file name) and oberve the behavior.
- Do the same thing for the chat with
Command
+L
and hover on something. - Close the menu and type
Diff
and try selecting@Diff of Working State
+<Enter>
- Observe the difference
Expected Behavior:
- When using
Command + P
, the keyboard input should take precedence over the mouse cursor, even if the cursor is hovering over an item in the list. The item under the cursor should not be selected until explicitly clicked.
Actual Behavior:
- In the specified menu or area, the mouse cursor’s position takes precedence over keyboard input. If the mouse cursor is hovering over an item in the list, that item is selected instead of the one matching the keystrokes entered after pressing
Command + L
.
Additional Notes:
- This behavior is inconsistent with other parts of the application, where keyboard input correctly takes precedence over mouse interaction.
- The issue persists even after restarting the application.
- This behavior makes it difficult to efficiently use @ symbols in the chat menu