Skip to content

In some cases text is removed from editor instead of search field when search field is focused #243985

@AdamWr

Description

@AdamWr

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
Version: 1.99.0-insider (user setup)
Commit: 8044250858b1c5fe64cc6b7a04f7003860d3b147
Date: 2025-03-19T05:03:55.556Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
  • OS Version: Windows 11

Steps to Reproduce:

  1. Open any text file
  2. Open search - press Ctrl+F
  3. In text editor select text and copy something (text should be selected before closing file)
  4. Close file
  5. Open the same file again (do not click anywhere, just open search using shortcut)
  6. Press Ctrl+F
  7. Paste copied text Ctrl+V
  8. Remove text from search - press Backspace
  9. Text is removed from editor instead of search field

On the video below you can notice that when I press Backspace or Delete (the same apply to arrows) when search field is focused, then text is removed from the file instead of being removed from search field. But when I press other buttons like a, then it's added to search field.

2025-03-19.12-07-36.mp4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions