godotengine / godotengine/godot-vscode-plugin
Can't do CTRL + F keyboard shortcut on Godot Docs until I've clicked into the webview
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### Godot version
4.4
### VS Code version
1.105.17075
### Godot Tools VS Code extension version
2.5.1
### System information
Debian Trixie (Linux)
### Issue description
When I open Godot documentation, very often keyboard shortcuts don't work until after I've clicked into the webview displaying the documentation. However, I'd expect the focus to be in the webview reading to listen to keyboard bindings right away.
### Steps to reproduce
1. Invoke the **Godot Tools: List Godot classes** command.
2. Search something like **CollisionObject2D**.
3. Do CTRL + F.
4. Observe that the Find UI does not open. (> 50% of the time, it does occasionally work.)
5. Click the webview containing the Godot documentation.
6. Do CTRL + F again.
7. Observe that the Find UI opens now.
I've noticed that this issue occurs with certain classes consistently, but then with others it's intermittent. For example, it always works for me with `@GDScript` and `AnimationPlayer`, but `CollisionObject2D` almost always requires a click first.
Contributor guide
Assessment
This issue has not been assessed yet.