Skip to content

Scripts Popup textbox loses focus when enter pressed with zero matches #137

@michaelgundlach

Description

@michaelgundlach

I pressed my Scripts Popup shortcut to open the Scripts Popup, typed "v" which matched none of my 3 open tabs, and pressed Enter. No script opened, as expected. Then I pressed backspace to try to erase the "v" and type in another character.

Expected behavior: "v" erased, all open scripts displayed
Actual behavior: None - the textbox lost had focus when I pressed Enter. No keyboard shortcut worked at that point except Escape.

An argument for the current behavior being a feature, not a bug: the current Godot Quick Open panel has the same behavior. If you type enough garbage in so that no results are displayed, and press Enter, the textbox loses focus. You are forced to press Escape to close it (or use the mouse).

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-godotSomething to improve or fix in Godot

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions