Focus not moved when Search in files is started

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Whenever I press Ctrl+Shift+F or use “Search: Find in files” from command palette in a secondary window of Cursor, the corresponding toolbar gets opened in the main window, but the focus stays on the original window, ready to type to the editor. Same for “Replace in files”

Steps to Reproduce

Open any editor
Move editor to a separate window
Press Ctrl+Shift+F

Expected Behavior

Keyboard focus is switched to the “search” field on “search” panel

Operating System

Linux

Version Information

Version: 3.0.13
Commit: 48a15759f53cd5fc9b5c20936ad7d79847d914b0
Date: 2026-04-07T03:05:17.114Z
Layout: editor
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Cursor/3.0.13 Chrome/142.0.7444.265 Electron/39.8.1 Safari/537.36

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

If helpful - this is the keyboard shortcut troubleshooting
2026-04-09 18:47:03.030 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event

2026-04-09 18:47:03.030 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched

2026-04-09 18:47:03.030 [info] [Window] [KeybindingService]: / Received keydown event - modifiers: [ctrl], code: ControlRight, keyCode: 17, key: Control

2026-04-09 18:47:03.030 [info] [Window] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlRight, keyCode: 5 (‘Ctrl’)

2026-04-09 18:47:03.030 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.

2026-04-09 18:47:03.031 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event

2026-04-09 18:47:03.031 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched

2026-04-09 18:47:03.031 [info] [Window] [KeybindingService]: / Received keydown event - modifiers: [ctrl,shift], code: ShiftRight, keyCode: 16, key: Shift

2026-04-09 18:47:03.031 [info] [Window] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ShiftRight, keyCode: 4 (‘Shift’)

2026-04-09 18:47:03.031 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.

2026-04-09 18:47:03.300 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event

2026-04-09 18:47:03.300 [info] [Window] [KeybindingService]: | Resolving ctrl+shift+[KeyF]

2026-04-09 18:47:03.300 [info] [Window] [KeybindingService]: \ From 5 keybinding entries, matched workbench.action.findInFiles, when: no when condition, source: built-in.

2026-04-09 18:47:03.300 [info] [Window] [KeybindingService]: / Received keydown event - modifiers: [ctrl,shift], code: KeyF, keyCode: 70, key: F

2026-04-09 18:47:03.300 [info] [Window] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: KeyF, keyCode: 36 (‘F’)

2026-04-09 18:47:03.300 [info] [Window] [KeybindingService]: | Resolving ctrl+shift+[KeyF]

2026-04-09 18:47:03.300 [info] [Window] [KeybindingService]: \ From 5 keybinding entries, matched workbench.action.findInFiles, when: no when condition, source: built-in.

2026-04-09 18:47:03.300 [info] [Window] [KeybindingService]: + Invoking command workbench.action.findInFiles.

2026-04-09 18:47:04.065 [info] [Window] [KeybindingService]: + Ignoring single modifier shift due to it being pressed together with other keys.

Hey @dpapka

Thanks for the report! I can reproduce this! Before filing a bug, would like to make sure I have it clear – what do you typically have open as your secondary window? A chat? A specific file?

Hi, Colin! Thanks for your reply.
I normally have multiple secondary windows (one per monitor) with only editors open, and I move the editor tabs between secondary windows as needed for comfort.

Editors are 99.9% Rust or Python code.

Using agentic chat in any window other than main is almost impossible - it has numerous bugs, mostly - switching to right-to-left typing in prompt zone after the first response, randomly closing chats, etc. So I only use secondary windows for editors, and open chats in the main one.